Package facets.util.datatree

Simple XML-compatible trees.

See:
          Description

Interface Summary
DataConstants Commonly-required string constants eg data types.
 

Class Summary
DataNode Mutable, persistable TypedNode.
ExceptionNode Wraps an exception in a DataNode.
NodeList List wrapping a DataNode and its TypedNode.children().
Nodes Utilities for manipulating and querying trees of TypedNodes and its subclasses.
Nodes.TreeRoot Provides for (de)persisting the contents of a DataNode.
TreeTransform Facilitates progressive changes in TypedNode structures.
TypedNode<V> Defines simple tree node.
ValueNode DataNode whose values can be stored and retrieved using keys.
ValueProxy Reads and writes contents of a ValueNode.
XmlDocRoot Reads and writes a DataNode tree as an XML document.
XmlPolicy Defines document and other policy for an XmlDocRoot, in particular XmlSpecifiers for loading and saving content.
XmlSpecifier FileSpecifier with attached XmlPolicy.
 

Package facets.util.datatree Description

Simple XML-compatible trees.

datatree provides a Java API for tree-structured data that is both largely compatible with XML and straightforward to use. datatree nodes can be

The API itself is defined in this package, while facets.util provides supporting API and facets.util.app a demonstration class.

All three packages are extracted from the Facets implementation of Superficial http://superficial.sourceforge.net.

API classes

TypedNode
Defines simple tree node.
DataNode
Mutable, persistable TypedNode.
ValueNode
DataNode whose values can be stored and retrieved using keys.
NodeList
List wrapping a DataNode and its TypedNode#children().
Nodes
Utilities for manipulating and querying trees of TypedNodes and its subclasses.
Nodes.TreeRoot
Provides for (de)persisting the contents of a DataNode.
XmlRoot
Reads and writes a DataNode tree as XML.
XmlRoot.DocumentPolicy
Defines document specifics for an XmlRoot.