public class UnitsSerializeDelegate extends java.lang.Object implements SerializeDelegate
| Constructor and Description |
|---|
UnitsSerializeDelegate() |
| 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.
|
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)
SerializeDelegateparse in interface SerializeDelegatetypeId - the type IDs - the string, e.g. "royalBlue"public java.lang.String typeId(java.lang.Class clas)
SerializeDelegatetypeId in interface SerializeDelegateclas - the class