public class M2XML extends Object
| Constructor and Description |
|---|
M2XML() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
deserialiseBoolean(String booleanString) |
static Date |
deserialiseDate(String date)
Convert XML date (of the form yyyy-MM-dd) to Date
|
static String |
serialiseBoolean(Boolean bool) |
static String |
serialiseDate(Date date)
Convert date to XML date (of the form yyyy-MM-dd)
|
public static Date deserialiseDate(String date) throws ParseException
date - the xml representation of the dateParseExceptionpublic static String serialiseDate(Date date)
date - the datepublic static Boolean deserialiseBoolean(String booleanString) throws ParseException
ParseExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.