org.jgap.xml
Class XMLDocumentBuilder
- java.lang.Object
-
- org.jgap.data.DocumentBuilderBase
-
- org.jgap.xml.XMLDocumentBuilder
-
public class XMLDocumentBuilder extends DocumentBuilderBase
Class building an XML file. Can be used to persist objects like Genotype, Chromosome or Gene (or a list of them) to an XML file.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor and Description XMLDocumentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.ObjectbuildDocument(IDataCreators a_document)Convenience method to build an XML document from a generic input structure (of type IDataCreators)-
Methods inherited from class org.jgap.data.DocumentBuilderBase
buildDocument
-
-
-
-
Method Detail
-
buildDocument
public java.lang.Object buildDocument(IDataCreators a_document) throws java.lang.Exception
Convenience method to build an XML document from a generic input structure (of type IDataCreators)- Parameters:
a_document- the input structure holding the data to be represented as XML document- Returns:
- Object the XML document
- Throws:
java.lang.Exception- Since:
- 2.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG