|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a data element, which can be both serialized and retrieved encoded as an XML-element. Deserialization is always possible, but for the XML-encoded form a special method has to be implemented, which recreates the data from en XML-element.
Method Summary | |
void |
decodeXMLElement(Element elem)
Parse back the data from an XML element. |
Serializable |
getAsSerializable()
Retrieve the data as a serializable. |
Element |
getAsXMLElement(Document doc)
Retrieve the data as an XML element. |
String |
toString()
Retrieve a string representation of the object. |
Method Detail |
public Serializable getAsSerializable()
public Element getAsXMLElement(Document doc)
doc
- the document within which to create the elementpublic void decodeXMLElement(Element elem) throws IllegalArgumentException
elem
- the element containing the data to parse backIllegalArgumentException
- if the element is incorrect (e. g. wrong tag name)public String toString()
toString
in class Object
|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |