Package org.dom4j.io
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
-
Interface Summary Interface Description ElementModifier ElementModifier defines a modifier ofElementobjects. -
Class Summary Class Description DispatchHandler DispatchHandlerimplements theElementHandlerinterface and provides a means to register multipleElementHandlerinstances to be used by an event based processor.DocumentInputSource DocumentResult DocumentSource DOMDocumentResult DOMReader DOMReadernavigates a W3C DOM tree and creates a DOM4J tree from it.DOMSAXContentHandler SAXContentHandlerbuilds W3C DOM object via SAX events.DOMWriter DOMWritertakes a DOM4J tree and outputs it as a W3C DOM objectElementStack ElementStackis used internally inside theSAXContentHandlerto maintain a stack ofElementinstances.HTMLWriter HTMLWritertakes a DOM4J tree and formats it to a stream as HTML.JAXPHelper JAXPHelpercontains some helper methods for working with JAXP.OutputFormat OutputFormatrepresents the format configuration used byXMLWriterand its base classes to format the XML outputPruningDispatchHandler This extension on theDispatchHandlerprunes the currentElementwhen there are noElementHandlerobjects active the element.PruningElementStack PruningElementStackis a stack ofElementinstances which will prune the tree when a path expression is reached.SAXContentHandler SAXContentHandlerbuilds a dom4j tree via SAX events.SAXEventRecorder Records SAX events such that they may be "replayed" at a later time.SAXEventRecorder.SAXEvent SAXHelper SAXHelpercontains some helper methods for working with SAX and XMLReader objects.SAXModifier The SAXModifier reads, modifies and writes XML documents using SAX.SAXModifyContentHandler This extension of the SAXContentHandler writes SAX events immediately to the provided XMLWriter, unless someorg.dom4.ElementHandleris still handling the current Element.SAXModifyElementHandler ThisElementHandleris used to triggerElementModifierobjects in order to modify (parts of) the Document on the fly.SAXModifyReader The SAXModifier parses, updates and writes an XML document.SAXReader SAXReadercreates a DOM4J tree from SAX parsing events.SAXReader.SAXEntityResolver SAXValidator SAXValidatorvalidates an XML document by writing the document to a text buffer and parsing it with a validating SAX parser.SAXWriter SAXWriterwrites a DOM4J tree to a SAX ContentHandler.STAXEventReader STAXEventWriter Writes DOM4JNodes to a StAX event stream.XMLResult XMLResultimplements a JAXPSAXResultfor an output stream with support for pretty printing and control over how the XML is formatted.XMLWriter XMLWritertakes a DOM4J tree and formats it to a stream as XML.XPP3Reader XPP3Readeris a Reader of DOM4J documents that uses the fast XML Pull Parser 3.x .XPPReader XPPReaderis a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x . -
Exception Summary Exception Description SAXModifyException Exception internally thrown by the SAX Modification classes.