public class CalendarLiteralImpl extends LiteralImpl
LiteralImpl that stores a calendar value to avoid
parsing.| Constructor and Description |
|---|
CalendarLiteralImpl(XMLGregorianCalendar calendar)
Creates a literal for the specified calendar using a datatype appropriate
for the value indicated by
XMLGregorianCalendar.getXMLSchemaType(). |
| Modifier and Type | Method and Description |
|---|---|
XMLGregorianCalendar |
calendarValue()
Returns the
XMLGregorianCalendar value of this literal. |
booleanValue, byteValue, decimalValue, doubleValue, equals, floatValue, getDatatype, getLabel, getLanguage, hashCode, integerValue, intValue, longValue, setDatatype, setLabel, setLanguage, shortValue, stringValue, toStringpublic CalendarLiteralImpl(XMLGregorianCalendar calendar)
XMLGregorianCalendar.getXMLSchemaType().public XMLGregorianCalendar calendarValue()
LiteralXMLGregorianCalendar value of this literal. A calendar
representation can be given for literals whose label conforms to the
syntax of the following XML
Schema datatypes: dateTime, time,
date, gYearMonth, gMonthDay,
gYear, gMonth or gDay.calendarValue in interface LiteralcalendarValue in class LiteralImplCopyright © 2001-2014 Aduna. All Rights Reserved.