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

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

public class BooleanDV
extends TypeValidator

Represent the schema type "boolean"

Version:
$Id: BooleanDV.java 469063 2006-10-30 04:44:22Z mrglavas $
Author:
Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM

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

Constructor Detail

BooleanDV

public BooleanDV()
Method Detail

getAllowedFacets

public short getAllowedFacets()
Specified by:
getAllowedFacets in class TypeValidator

getActualValue

public java.lang.Object getActualValue(java.lang.String content,
                                       ValidationContext context)
                                throws InvalidDatatypeValueException
Specified by:
getActualValue in class TypeValidator
Throws:
InvalidDatatypeValueException