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
DOMReadernavigates a W3C DOM tree and creates a DOM4J tree from it.SAXContentHandlerbuilds W3C DOM object via SAX events.DOMWritertakes a DOM4J tree and outputs it as a W3C DOM objectElementModifier defines a modifier ofElementobjects.HTMLWritertakes a DOM4J tree and formats it to a stream as HTML.OutputFormatrepresents the format configuration used byXMLWriterand its base classes to format the XML outputSAXContentHandlerbuilds 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.SAXReadercreates a DOM4J tree from SAX parsing events.SAXValidatorvalidates an XML document by writing the document to a text buffer and parsing it with a validating SAX parser.SAXWriterwrites a DOM4J tree to a SAX ContentHandler.Writes DOM4JNodes to a StAX event stream.XMLResultimplements a JAXPSAXResultfor an output stream with support for pretty printing and control over how the XML is formatted.XMLWritertakes a DOM4J tree and formats it to a stream as XML.