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
Author:
Klaus Meffert

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 void appendChild(IDataElement newChild)
          Appends a child element to the tree
 IDataElementList getTree()
           
 IDataCreators newDocument()
           
 void setTree(IDataElementList tree)
           
 

Field Detail

CVS_REVISION

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

See Also:
Constant Field Values
Method Detail

setTree

public void setTree(IDataElementList tree)

getTree

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

newDocument

public IDataCreators newDocument()
                          throws java.lang.Exception
Throws:
java.lang.Exception

appendChild

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

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