| Constructor | Description |
|---|---|
XmlElement(XmlName name,
Collection<XmlAttribute> attributes,
Collection<XmlNode> children) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
String |
getAttribute(String key) |
|
XmlAttribute |
getAttributeNode(String key) |
|
List<XmlAttribute> |
getAttributes() |
Answer the attribute nodes of the receiver.
|
XmlName |
getName() |
|
int |
hashCode() |
|
void |
writeTo(StringBuilder buffer) |
Writes the XML string of the receiver to a
buffer. |
forEach, spliteratorclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDocument, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling, getRoot, iterator, toString, toXmlStringgetChildrenpublic XmlElement(XmlName name, Collection<XmlAttribute> attributes, Collection<XmlNode> children)
public XmlName getName()
public List<XmlAttribute> getAttributes()
XmlNodegetAttributes in class XmlNodepublic XmlAttribute getAttributeNode(String key)
public void writeTo(StringBuilder buffer)
XmlNodebuffer.Copyright © 2018 PetitParser. All rights reserved.