public class XmlDocument extends Object
This class is not thread-safe. It not optimized-- it creates new factories and builders for every invocation. It is not suitable for use in production code.
This class does not catch errors. It passes errors up the call chain to provide developers with the most information possible when debugging test cases.
To format (pretty print) XML, use the ddf.util.XPathHelper or org.codice.ddf.platform.util.XMLUtils classes.
Constructor and Description |
---|
XmlDocument() |
Modifier and Type | Method and Description |
---|---|
static Document |
build(String input)
Create an DOM from a string representation of an XML document.
|
static Document |
build(String input,
boolean isNamespaceAware)
Create an DOM from a string representation of an XML document.
|
This work is licensed under a Creative Commons Attribution 4.0 International License.