|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
ElementHandler | Handle one XTree Element. |
Class Summary | |
---|---|
Element | An XML Element. |
Node | Base class for a node in an XTree. |
NodeWithChildren | Base class for a node with children. |
ProcessingInstruction | An XML processing instruction. |
SequentialTreeBuilder | Build a list of XTree:s from a SAX2 event stream, or by parsing an XML document. |
Text | Character content in an XML document. |
TreeBuilder | Build an XTree from a SAX2 event stream, or by parsing an XML document. |
XTreeUtil | Some utility methods for XTree. |
XTreeXMLDataContentHandler | Java Activation Framework DataContentHandler for XML, using the XTree representation. |
XTree is a lightweight tree representation of an XML document.
XTree is desiged to be compatible with SAX2. An XTree contains (almost)
the same information as a SAX2 ContentHandler
. It's easy
to construct an XTree from SAX2 events using TreeBuilder
and to serialize an XTree into SAX2 events
using the Node.toSAX(org.xml.sax.ContentHandler)
method.
Unlike DOM, XTree has no concept of a document, a document is equvivalent
to its root element. It's not possible to distinguish between a complete
document and a document fragment, both are simply representated by an Element
.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |