Top Description Interfaces Classes
[default module]

Package org.dom4j.io


Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.

Interface Summary

Modifier and TypeInterface and Description
public interface
ElementModifier

ElementModifier defines a modifier of org.dom4j.Elementobjects.

Class Summary

Modifier and TypeClass and Description
pack-priv class
DispatchHandler

DispatchHandler implements the ElementHandler interface and provides a means to register multiple ElementHandler instances to be used by an event based processor.

pack-priv class
DocumentInputSource

DocumentInputSource implements a SAX InputSourcefor a Document.

public class
DocumentResult

DocumentResult implements a JAXP SAXResultfor a Document.

public class
DocumentSource

DocumentSource implements a JAXP SAXSourcefor a Document.

public class
DOMDocumentResult

DOMDocumentResult implements a JAXP SAXResult for a org.w3c.dom.Document.

public class
DOMReader

DOMReader navigates a W3C DOM tree and creates a DOM4J tree from it.

public class
DOMSAXContentHandler

SAXContentHandler builds W3C DOM object via SAX events.

public class
DOMWriter

DOMWriter takes a DOM4J tree and outputs it as a W3C DOM object

pack-priv class
ElementStack

ElementStack is used internally inside the SAXContentHandler to maintain a stack of Elementinstances.

public class
HTMLWriter

HTMLWriter takes a DOM4J tree and formats it to a stream as HTML.

pack-priv class
JAXPHelper

JAXPHelper contains some helper methods for working with JAXP.

public class
OutputFormat

OutputFormat represents the format configuration used by XMLWriterand its base classes to format the XML output

pack-priv class
PruningDispatchHandler

This extension on the DispatchHandlerprunes the current org.dom4j.Element when there are no ElementHandlerobjects active the element.

pack-priv class
PruningElementStack

PruningElementStack is a stack of Elementinstances which will prune the tree when a path expression is reached.

public class
SAXContentHandler

SAXContentHandler builds a dom4j tree via SAX events.

public class
SAXEventRecorder

Records SAX events such that they may be "replayed" at a later time.

pack-priv class
SAXHelper

SAXHelper contains some helper methods for working with SAX and XMLReader objects.

public class
SAXModifier

The SAXModifier reads, modifies and writes XML documents using SAX.

pack-priv class
SAXModifyContentHandler

This extension of the SAXContentHandler writes SAX events immediately to the provided XMLWriter, unless some org.dom4.ElementHandleris still handling the current Element.

pack-priv class
SAXModifyElementHandler

This org.dom4j.ElementHandleris used to trigger ElementModifier objects in order to modify (parts of) the Document on the fly.

pack-priv class
SAXModifyException

Exception internally thrown by the SAX Modification classes.

pack-priv class
SAXModifyReader

The SAXModifier parses, updates and writes an XML document.

public class
SAXReader

SAXReader creates a DOM4J tree from SAX parsing events.

public class
SAXValidator

SAXValidator validates an XML document by writing the document to a text buffer and parsing it with a validating SAX parser.

public class
SAXWriter

SAXWriter writes a DOM4J tree to a SAX ContentHandler.

public class
STAXEventReader

Reads a DOM4J Document, as well as other Nodes, from a StAX XMLEventReader.

public class
STAXEventWriter

Writes DOM4J Nodes to a StAX event stream.

public class
XMLResult

XMLResult implements a JAXP SAXResultfor an output stream with support for pretty printing and control over how the XML is formatted.

public class
XMLWriter

XMLWriter takes a DOM4J tree and formats it to a stream as XML.

public class
XPP3Reader

XPP3Reader is a Reader of DOM4J documents that uses the fast XML Pull Parser 3.x .

public class
XPPReader

XPPReader is a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x .