public class TimeDV extends AbstractDateTimeDV
DAY, factory, MONTH, YEAREQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN| Constructor and Description |
|---|
TimeDV() |
| Modifier and Type | Method and Description |
|---|---|
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 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, append2, compare, compareDates, compareOrder, findUTCSign, fQuotient, fQuotient, getAllowedFacets, getDate, getDuration, getTime, getTimeZone, getYearMonth, indexOf, isIdentical, isNextCharUTCSign, maxDayInMonthFor, mod, modulo, normalize, parseInt, parseIntYear, parseSecond, parseTimeZone, resetDateObj, saveUnnormalized, validateDateTimecheckExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigitpublic Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue in class TypeValidatorcontent - The lexical representation of timeInvalidDatatypeValueExceptionprotected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(String str) throws SchemaDateTimeException
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))?))?")SchemaDateTimeException - Invalid lexical representationprotected String dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
dateToString in class AbstractDateTimeDVdate - time objectprotected XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
getXMLGregorianCalendar in class AbstractDateTimeDVCopyright © 2012 JBoss by Red Hat. All Rights Reserved.