org.jgap.data
Class DataElementsDocument
- java.lang.Object
-
- org.jgap.data.DataElementsDocument
-
- All Implemented Interfaces:
- IDataCreators
public class DataElementsDocument extends java.lang.Object implements IDataCreators
The IDataCreators interface represents an entity comparable to org.w3c.dom.Document- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor and Description DataElementsDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidappendChild(IDataElement a_newChild)Appends a child element to the treeIDataElementListgetTree()IDataCreatorsnewDocument()Constructs a new instance of the entity implementing IDataCreatorsvoidsetTree(IDataElementList a_tree)
-
-
-
Constructor Detail
-
DataElementsDocument
public DataElementsDocument() throws java.lang.Exception- Throws:
java.lang.Exception
-
-
Method Detail
-
setTree
public void setTree(IDataElementList a_tree)
- Specified by:
setTreein interfaceIDataCreators
-
getTree
public IDataElementList getTree()
- Specified by:
getTreein interfaceIDataCreators- Returns:
- the tree (of elements) held by this class
- Since:
- 2.0
-
newDocument
public IDataCreators newDocument() throws java.lang.Exception
Description copied from interface:IDataCreatorsConstructs a new instance of the entity implementing IDataCreators- Specified by:
newDocumentin interfaceIDataCreators- Returns:
- new instance of the entity itself
- Throws:
java.lang.Exception
-
appendChild
public void appendChild(IDataElement a_newChild) throws java.lang.Exception
Appends a child element to the tree- Specified by:
appendChildin interfaceIDataCreators- Parameters:
a_newChild- the child to be added to the tree- Throws:
java.lang.Exception- Since:
- 2.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG