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)
SerializeDelegate
format
in interface SerializeDelegate
o
- the objectpublic java.lang.Object parse(java.lang.String typeId, java.lang.String s) throws java.text.ParseException
SerializeDelegate
parse
in interface SerializeDelegate
typeId
- the type IDs
- the string, e.g. "royalBlue"java.text.ParseException
public java.lang.String typeId(java.lang.Class clas)
SerializeDelegate
typeId
in interface SerializeDelegate
clas
- the classpublic org.w3c.dom.Element xmlFormat(org.w3c.dom.Document doc, java.lang.Object o)
xmlFormat
in interface XMLSerializeDelegate
public java.lang.Object xmlParse(org.w3c.dom.Element e) throws java.text.ParseException
xmlParse
in interface XMLSerializeDelegate
java.text.ParseException