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, parseNode
public XDocument(XElement documentElement)
public String toString()
toString
in class XContainer
public String toString(XmlFormat format)
toString
in class XContainer
protected XElement getXElement()
getXElement
in class XContainer
public XElement getRoot()
public XmlNodeType getNodeType()
getNodeType
in class XObject
public static XDocument loadUtf8(InputStream inputStream)
Copyright © 2010–2015 JBoss by Red Hat. All rights reserved.