public class DatumRangeSerializeDelegate extends java.lang.Object implements SerializeDelegate, XMLSerializeDelegate
| Constructor and Description |
|---|
DatumRangeSerializeDelegate() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.Object o)
format the object.
|
java.lang.Object |
parse(java.lang.String typeId,
java.lang.String s)
parse the object from the string
|
java.lang.String |
typeId(java.lang.Class clas)
identifier for the delegate, that is used to qualify the name of the thing formatted.
|
org.w3c.dom.Element |
xmlFormat(org.w3c.dom.Document doc,
java.lang.Object o) |
java.lang.Object |
xmlParse(org.w3c.dom.Element e) |
public java.lang.String format(java.lang.Object o)
SerializeDelegateformat in interface SerializeDelegateo - the objectpublic java.lang.Object parse(java.lang.String typeId,
java.lang.String s)
throws java.text.ParseException
SerializeDelegateparse in interface SerializeDelegatetypeId - the type IDs - the string, e.g. "royalBlue"java.text.ParseExceptionpublic java.lang.String typeId(java.lang.Class clas)
SerializeDelegatetypeId in interface SerializeDelegateclas - the classpublic org.w3c.dom.Element xmlFormat(org.w3c.dom.Document doc,
java.lang.Object o)
xmlFormat in interface XMLSerializeDelegatepublic java.lang.Object xmlParse(org.w3c.dom.Element e)
throws java.text.ParseException
xmlParse in interface XMLSerializeDelegatejava.text.ParseException