public class XDocument extends XContainer
| Modifier and Type | Method and Description |
|---|---|
XmlNodeType |
getNodeType() |
XElement |
getRoot() |
protected XElement |
getXElement() |
static XDocument |
load(Reader reader) |
static XDocument |
loadUtf8(InputStream inputStream) |
static XDocument |
parse(String text) |
String |
toString() |
String |
toString(XmlFormat format) |
add, add, addFirst, addFirst, descendants, descendants, domNodes, domPrettyPrint, domPrettyPrint, element, elements, elements, nodes, parse, parseNodepublic XDocument(XElement documentElement)
public String toString()
toString in class XContainerpublic String toString(XmlFormat format)
toString in class XContainerprotected XElement getXElement()
getXElement in class XContainerpublic XElement getRoot()
public XmlNodeType getNodeType()
getNodeType in class XObjectpublic static XDocument loadUtf8(InputStream inputStream)
Copyright © 2010–2015 JBoss by Red Hat. All rights reserved.