JGAP

org.jgap.data
Interface IDataCreators

All Known Implementing Classes:
DataElementsDocument

public interface IDataCreators

The IDataCreators interface represents an entity comparable to org.w3c.dom.Document

Since:
2.0

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 void appendChild(IDataElement a_newChild)
          Appends a child element to the tree
 IDataElementList getTree()
           
 IDataCreators newDocument()
          Constructs a new instance of the entity implementing IDataCreators
 void setTree(IDataElementList a_tree)
           
 

Field Detail

CVS_REVISION

static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!

See Also:
Constant Field Values
Method Detail

setTree

void setTree(IDataElementList a_tree)

getTree

IDataElementList getTree()
Returns:
the tree (of elements) held by the implementing class
Since:
2.0

newDocument

IDataCreators newDocument()
                          throws java.lang.Exception
Constructs a new instance of the entity implementing IDataCreators

Returns:
new instance of the entity itself
Throws:
java.lang.Exception
Since:
2.0

appendChild

void appendChild(IDataElement a_newChild)
                 throws java.lang.Exception
Appends a child element to the tree

Parameters:
a_newChild - the child to be added to the tree
Throws:
java.lang.Exception
Since:
2.0

JGAP