static Document |
DomUtils.createXmlDocument() |
Start a new XML Document (with root name = xml)
|
static Document |
DomUtils.createXmlDocument(String rootName) |
Start a new XML Document.
|
static DocumentBuilder |
DomUtils.getXmlDocumentBuilder() |
Get a DOM Document builder.
|
static DocumentBuilder |
DomUtils.getXmlDocumentBuilder(boolean namespaceAware) |
Get a DOM Document builder.
|
static DocumentBuilder |
DomUtils.getXmlDocumentBuilderNS() |
Get a DOM Document builder - namespace aware
|
static Document |
DomUtils.parseHtmlBytes(byte[] html) |
Parse HTML text (from a raw byte array) into a Document.
|
static Document |
DomUtils.parseHtmlString(String html) |
Parse HTML text (from a String) into a Document.
|
static Document |
DomUtils.parseXmlBytes(byte[] xml) |
Parse XML text (from a raw byte array) into a Document.
|
static Document |
DomUtils.parseXmlBytesNS(byte[] xml) |
Parse XML text (from a raw byte array) into a Document - namespace aware.
|
static Document |
DomUtils.parseXmlFile(String filename) |
Parse an XML file into a Document.
|
static Document |
DomUtils.parseXmlReader(Reader xmlReader) |
Parse XML text (from a Reader) into a Document.
|
static Document |
DomUtils.parseXmlStream(InputStream xmlStream) |
Parse XML text (from an input stream) into a Document.
|
static Document |
DomUtils.parseXmlStreamNS(InputStream xmlStream) |
Parse XML text (from an input stream) into a Document - namespace aware.
|
static Document |
DomUtils.parseXmlString(String xml) |
Parse XML text (from a string) into a Document.
|
static String |
DomUtils.serialize(Object object) |
Write formatted XML text to a String.
|
static void |
DomUtils.serializeXml(Node node,
OutputStream target) |
Write formatted XML text to supplied OutputStream.
|
static void |
DomUtils.serializeXml(Node node,
Writer writer) |
Write formatted XML text to supplied Writer.
|