@DecodeType(value=javax.xml.datatype.XMLGregorianCalendar.class) public class XMLGregorianCalendarDecoder extends org.milyn.javabean.decoders.DateDecoder implements org.milyn.javabean.DataDecoder
XMLGregorianCalendar
data decoder.
Decodes the supplied string into a XMLGregorianCalendar
value based on the supplied "
format
" parameter, or the default (see below).
The default date format used is "yyyy-MM-dd'T'HH:mm:ss" (see SimpleDateFormat
). This format is based on the ISO 8601 standard as used by the XML Schema type "dateTime".
This decoder is synchronized on its underlying SimpleDateFormat
instance.Constructor and Description |
---|
XMLGregorianCalendarDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(String data) |
Copyright © 2008–2016 JBoss.org. All rights reserved.