public class M2XML
extends java.lang.Object
| Constructor and Description |
|---|
M2XML() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Boolean |
deserialiseBoolean(java.lang.String booleanString) |
static java.util.Date |
deserialiseDate(java.lang.String date)
Convert XML date (of the form yyyy-MM-dd) to Date
|
static java.lang.String |
serialiseBoolean(java.lang.Boolean bool) |
static java.lang.String |
serialiseDate(java.util.Date date)
Convert date to XML date (of the form yyyy-MM-dd)
|
public static java.util.Date deserialiseDate(java.lang.String date)
throws java.text.ParseException
date - the xml representation of the datejava.text.ParseExceptionpublic static java.lang.String serialiseDate(java.util.Date date)
date - the datepublic static java.lang.Boolean deserialiseBoolean(java.lang.String booleanString)
throws java.text.ParseException
java.text.ParseExceptionpublic static java.lang.String serialiseBoolean(java.lang.Boolean bool)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.