Package org.dom4j.io
package org.dom4j.io
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
-
ClassDescription
DOMReader
navigates a W3C DOM tree and creates a DOM4J tree from it.SAXContentHandler
builds W3C DOM object via SAX events.DOMWriter
takes a DOM4J tree and outputs it as a W3C DOM objectElementModifier defines a modifier ofElement
objects.HTMLWriter
takes a DOM4J tree and formats it to a stream as HTML.OutputFormat
represents the format configuration used byXMLWriter
and its base classes to format the XML outputSAXContentHandler
builds a dom4j tree via SAX events.Records SAX events such that they may be "replayed" at a later time.The SAXModifier reads, modifies and writes XML documents using SAX.SAXReader
creates a DOM4J tree from SAX parsing events.SAXValidator
validates an XML document by writing the document to a text buffer and parsing it with a validating SAX parser.SAXWriter
writes a DOM4J tree to a SAX ContentHandler.Writes DOM4JNode
s to a StAX event stream.XMLResult
implements a JAXPSAXResult
for an output stream with support for pretty printing and control over how the XML is formatted.XMLWriter
takes a DOM4J tree and formats it to a stream as XML.