org.apache.xerces.impl.dv.xs
Class YearDV
Validator for <gYear> datatype (W3C Schema Datatypes)
$Id: YearDV.java 320310 2005-05-06 15:31:15Z ankitp $- Elena Litani
- Gopal Sharma, SUN Microsystem Inc.
protected String | dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date) - Converts year object representation to String
|
Object | getActualValue(String content, ValidationContext context) - Convert a string to a compiled form
|
protected javax.xml.datatype.XMLGregorianCalendar | getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
|
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData | parse(String str) - Parses, validates and computes normalized version of gYear object
|
append , append , compare , compareDates , compareOrder , dateToString , fQuotient , fQuotient , findUTCSign , getAllowedFacets , getDate , getDuration , getTime , getTimeZone , getXMLGregorianCalendar , getYearMonth , indexOf , isIdentical , isNextCharUTCSign , maxDayInMonthFor , mod , modulo , normalize , parseInt , parseIntYear , parseSecond , parseTimeZone , resetDateObj , saveUnnormalized , validateDateTime |
dateToString
protected String dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
Converts year object representation to String
- dateToString in interface AbstractDateTimeDV
- lexical representation of month: CCYY with optional time zone sign
getXMLGregorianCalendar
protected javax.xml.datatype.XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
- getXMLGregorianCalendar in interface AbstractDateTimeDV
parse
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(String str)
throws SchemaDateTimeException
Parses, validates and computes normalized version of gYear object
str
- The lexical representation of year object CCYY
with possible time zone Z or (-),(+)hh:mm
- normalized date representation
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.