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

java.lang.Object
  |
  +--org.apache.xerces.impl.dv.xs.TypeValidator
        |
        +--org.apache.xerces.impl.dv.xs.BooleanDV

public class BooleanDV
extends TypeValidator

Represent the schema type "boolean"

Version:
$Id: BooleanDV.java,v 1.2 2002/01/29 01:15:12 lehors Exp $
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, isEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
InvalidDatatypeValueException


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.