|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweka.core.xml.XMLSerialization
weka.core.xml.XMLBasicSerialization
This serializer contains some read/write methods for common classes that are not beans-conform.
| Field Summary |
| Fields inherited from class weka.core.xml.XMLSerialization |
ATT_ARRAY, ATT_CLASS, ATT_NAME, ATT_PRIMITIVE, ATT_VERSION, DOCTYPE, ROOT_NODE, TAG_OBJECT, VAL_NO, VAL_ROOT, VAL_YES |
| Constructor Summary | |
XMLBasicSerialization()
initializes the serialization |
|
| Method Summary | |
void |
clear()
generates internally a new XML document and clears also the IgnoreList and the mappings for the Read/Write-Methods |
static void |
main(java.lang.String[] args)
for testing only |
java.lang.Object |
readDefaultListModel(org.w3c.dom.Element node)
builds the DefaultListModel from the given DOM node. |
void |
writeDefaultListModel(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given DefaultListModel to a DOM structure. |
| Methods inherited from class weka.core.xml.XMLSerialization |
fromXML, getVersion, read, read, read, read, readFromXML, toXML, write, write, write, write, writeToXML |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLBasicSerialization()
throws java.lang.Exception
java.lang.Exception - if initialization fails| Method Detail |
public void clear()
throws java.lang.Exception
clear in class XMLSerializationjava.lang.Exception
public void 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 object
java.lang.Exception - if the DOM creation failsDefaultListModel
public java.lang.Object readDefaultListModel(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML node
java.lang.Exception - if instantiation failsDefaultListModel
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||