org.apache.xerces.impl.dv.xs
Class TimeDV

java.lang.Object
  extended by org.apache.xerces.impl.dv.xs.TypeValidator
      extended by org.apache.xerces.impl.dv.xs.AbstractDateTimeDV
          extended by org.apache.xerces.impl.dv.xs.TimeDV

public class TimeDV
extends AbstractDateTimeDV

Validator for <time> datatype (W3C Schema Datatypes)

Version:
$Id: TimeDV.java 446745 2006-09-15 21:43:58Z mrglavas $
Author:
Elena Litani, Gopal Sharma, SUN Microsystem Inc.

Field Summary
 
Fields inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
 
Constructor Summary
TimeDV()
           
 
Method Summary
 java.lang.Object getActualValue(java.lang.String content, ValidationContext context)
          Convert a string to a compiled form
 
Methods inherited from class org.apache.xerces.impl.dv.xs.AbstractDateTimeDV
compare, getAllowedFacets, isIdentical
 
Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeDV

public TimeDV()
Method Detail

getActualValue

public java.lang.Object getActualValue(java.lang.String content,
                                       ValidationContext context)
                                throws InvalidDatatypeValueException
Convert a string to a compiled form

Specified by:
getActualValue in class TypeValidator
Parameters:
content - The lexical representation of time
Returns:
a valid and normalized time object
Throws:
InvalidDatatypeValueException