Package facets.util.treecode

Construction and referencing of objects defined by DataNodes.

See:
          Description

Class Summary
TreeCodeContext<T extends TreeCoded> TreeCoded that provides for referencing of TreeCodeds by TreeCoded.Label.
TreeCoded Wraps a DataNode containing its code and has a (possibly empty) TreeCoded.Label.
TreeCoded.Label Identifies a TreeCoded.
TreeCodeType<T extends TreeCoded> Creates TreeCodeds of the type of its TreeCodeType.name.
TreeCodeTypes Defines the TreeCodeTypes available to a TreeCoded framework.
 

Package facets.util.treecode Description

Construction and referencing of objects defined by DataNodes.

Tree coding

Tree coding enables the construction of arbitrary Java objects defined by DataNode sources where:

A graph of TreeCodeds can therefore be naturally edited in DataNode-aware tree viewers.

Since DataNodes can be represented in XML via XmlRoot, TreeCoded graphs can also be edited structurally in any XML editor and textually in any text editor (possibly for preference where complex text substitutions are required during dialect design).

Core types

This package provides the following types providing for tree-coding of Java objects.

TreeCoded
Wraps a source DataNode containing its code and data, and has a Label allowing it to be referenced by or reference other TreeCodeds.
TreeCodeType
Constructs a TreeCoded instance as specified by a coding DataNode, supplying a TreeCodeTypes (and where relevant a TreeCodeContext) to allow construction of TreeCoded contents.
TreeCodeContext
Provides for referencing of TreeCodeds by (non-empty) Labels.
TreeCodeTypes
Defines the TreeCodeTypes available to a TreeCoded framework.