org.apache.xerces.impl.dv.xs
Class TimeDV
Validator for <time> datatype (W3C Schema Datatypes)
$Id: TimeDV.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 time 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 time 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 time object representation to String
- dateToString in interface AbstractDateTimeDV
- lexical representation of time: hh:mm:ss.sss with an 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 time object
str
- The lexical representation of time object hh:mm:ss.sss
with possible time zone Z or (-),(+)hh:mm
Pattern: "(\\d\\d):(\\d\\d):(\\d\\d)(\\.(\\d)*)?(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?")
- normalized time representation
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.