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

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.MonthDV

public class MonthDV
extends AbstractDateTimeDV

Validator for <gMonth> datatype (W3C Schema Datatypes)

Version:
$Id: MonthDV.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
MonthDV()
           
 
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

MonthDV

public MonthDV()
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 gMonth
Returns:
a valid and normalized gMonth object
Throws:
InvalidDatatypeValueException