public class XMLBasicSerialization extends XMLSerialization
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | VAL_CELLSthe matrix cells | 
| static java.lang.String | VAL_KEYthe value for a mapping-key, e.g., Maps | 
| static java.lang.String | VAL_MAPPINGthe value for mapping, e.g., Maps | 
| static java.lang.String | VAL_VALUEthe value for mapping-value, e.g., Maps | 
ATT_ARRAY, ATT_ARRAY_DEFAULT, ATT_CLASS, ATT_NAME, ATT_NULL, ATT_NULL_DEFAULT, ATT_PRIMITIVE, ATT_PRIMITIVE_DEFAULT, ATT_VERSION, DOCTYPE, ROOT_NODE, TAG_OBJECT, VAL_NO, VAL_ROOT, VAL_YES| Constructor and Description | 
|---|
| XMLBasicSerialization()initializes the serialization | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()generates internally a new XML document and clears also the IgnoreList
 and the mappings for the Read/Write-Methods | 
| java.lang.String | getRevision()Returns the revision string. | 
| java.lang.Object | readCollection(org.w3c.dom.Element node)builds the Collection from the given DOM node. | 
| java.lang.Object | readCostMatrixOld(org.w3c.dom.Element node)builds the Matrix (old) from the given DOM node. | 
| java.lang.Object | readDefaultListModel(org.w3c.dom.Element node)builds the DefaultListModel from the given DOM node. | 
| java.lang.Object | readMap(org.w3c.dom.Element node)builds the Map from the given DOM node. | 
| java.lang.Object | readMatrix(org.w3c.dom.Element node)builds the Matrix from the given DOM node. | 
| java.lang.Object | readMatrixOld(org.w3c.dom.Element node)builds the Matrix (old) from the given DOM node. | 
| org.w3c.dom.Element | writeCollection(org.w3c.dom.Element parent,
               java.lang.Object o,
               java.lang.String name)adds the given Collection to a DOM structure. | 
| org.w3c.dom.Element | writeCostMatrixOld(org.w3c.dom.Element parent,
                  java.lang.Object o,
                  java.lang.String name)adds the given CostMatrix (old) to a DOM structure. | 
| org.w3c.dom.Element | writeDefaultListModel(org.w3c.dom.Element parent,
                     java.lang.Object o,
                     java.lang.String name)adds the given DefaultListModel to a DOM structure. | 
| org.w3c.dom.Element | writeMap(org.w3c.dom.Element parent,
        java.lang.Object o,
        java.lang.String name)adds the given Map to a DOM structure. | 
| org.w3c.dom.Element | writeMatrix(org.w3c.dom.Element parent,
           java.lang.Object o,
           java.lang.String name)adds the given Matrix to a DOM structure. | 
| org.w3c.dom.Element | writeMatrixOld(org.w3c.dom.Element parent,
              java.lang.Object o,
              java.lang.String name)adds the given Matrix (old) to a DOM structure. | 
fromXML, getVersion, main, read, read, read, read, readBooleanFromXML, readByteFromXML, readCharFromXML, readDoubleFromXML, readFloatFromXML, readFromXML, readFromXML, readIntFromXML, readLongFromXML, readShortFromXML, toXML, write, write, write, write, writeToXMLpublic static final java.lang.String VAL_MAPPING
public static final java.lang.String VAL_KEY
public static final java.lang.String VAL_VALUE
public static final java.lang.String VAL_CELLS
public XMLBasicSerialization()
                      throws java.lang.Exception
java.lang.Exception - if initialization failspublic void clear()
           throws java.lang.Exception
clear in class XMLSerializationjava.lang.Exception - if initializing failspublic org.w3c.dom.Element writeDefaultListModel(org.w3c.dom.Element parent,
                                                 java.lang.Object o,
                                                 java.lang.String name)
                                          throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsDefaultListModelpublic java.lang.Object readDefaultListModel(org.w3c.dom.Element node)
                                      throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsDefaultListModelpublic org.w3c.dom.Element writeCollection(org.w3c.dom.Element parent,
                                           java.lang.Object o,
                                           java.lang.String name)
                                    throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsCollectionpublic java.lang.Object readCollection(org.w3c.dom.Element node)
                                throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsCollectionpublic org.w3c.dom.Element writeMap(org.w3c.dom.Element parent,
                                    java.lang.Object o,
                                    java.lang.String name)
                             throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsMappublic java.lang.Object readMap(org.w3c.dom.Element node)
                         throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsMappublic org.w3c.dom.Element writeMatrix(org.w3c.dom.Element parent,
                                       java.lang.Object o,
                                       java.lang.String name)
                                throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsMatrixpublic java.lang.Object readMatrix(org.w3c.dom.Element node)
                            throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsMatrixpublic org.w3c.dom.Element writeMatrixOld(org.w3c.dom.Element parent,
                                          java.lang.Object o,
                                          java.lang.String name)
                                   throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsMatrixpublic java.lang.Object readMatrixOld(org.w3c.dom.Element node)
                               throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsMatrixpublic org.w3c.dom.Element writeCostMatrixOld(org.w3c.dom.Element parent,
                                              java.lang.Object o,
                                              java.lang.String name)
                                       throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
 member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsCostMatrixpublic java.lang.Object readCostMatrixOld(org.w3c.dom.Element node)
                                   throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsCostMatrixpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class XMLSerialization