public class XElement extends XContainer implements XNameable
Constructor and Description |
---|
XElement(String name,
Object... content) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object content) |
XAttribute |
attribute(String name) |
Enumerable<XAttribute> |
attributes() |
XName |
getName() |
XmlNodeType |
getNodeType() |
String |
getValue() |
protected XElement |
getXElement() |
String |
toString() |
String |
toString(XmlFormat format) |
add, addFirst, addFirst, descendants, descendants, domNodes, domPrettyPrint, domPrettyPrint, element, elements, elements, nodes, parse, parseNode
public void add(Object content)
add
in class XContainer
public XmlNodeType getNodeType()
getNodeType
in class XObject
public Enumerable<XAttribute> attributes()
public XAttribute attribute(String name)
protected XElement getXElement()
getXElement
in class XContainer
public String toString()
toString
in class XContainer
public String toString(XmlFormat format)
toString
in class XContainer
public String getValue()
Copyright © 2010–2015 JBoss by Red Hat. All rights reserved.