|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.dictionary.M2XML
public class M2XML
Support translating model from and to XML
| Constructor Summary | |
|---|---|
M2XML()
|
|
| Method Summary | |
|---|---|
static java.util.Date |
deserialiseDate(java.lang.String date)
Convert XML date (of the form yyyy-MM-dd) to Date |
static java.lang.String |
serialiseDate(java.util.Date date)
Convert date to XML date (of the form yyyy-MM-dd) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public M2XML()
| Method Detail |
|---|
public static java.util.Date deserialiseDate(java.lang.String date)
throws java.text.ParseException
date - the xml representation of the date
java.text.ParseExceptionpublic static java.lang.String serialiseDate(java.util.Date date)
date - the date
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||