|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xeril.xml.XmlMapperDateTime
This class is the implementation of the XmlMapper interface for a Date/Time object. Basically a Date will be represented as MM/DD/YYYY hh:mm:ss in XML (and not as a Date object)
Constructor Summary | |
XmlMapperDateTime()
|
Method Summary | |
java.lang.String |
map(java.lang.Object o)
Maps an object to its XML representation (which is a String ) |
java.lang.Object |
unmap(java.lang.String s)
Unmaps an object from its XML representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlMapperDateTime()
Method Detail |
public java.lang.String map(java.lang.Object o) throws XmlMapperException
String
)
map
in interface XmlMapper
o
- the object to mappublic java.lang.Object unmap(java.lang.String s) throws XmlMapperException
unmap
in interface XmlMapper
s
- the xml representation of the objectXmlMapperException
- when the unmmap operation is impossible
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |