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

java.lang.Object
  extended byorg.apache.xerces.impl.dv.xs.TypeValidator
      extended byorg.apache.xerces.impl.dv.xs.DoubleDV

public class DoubleDV
extends TypeValidator

Represent the schema type "double"

Version:
$Id: DoubleDV.java,v 1.6 2003/02/17 13:45:57 sandygao 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
DoubleDV()
           
 
Method Summary
 int compare(java.lang.Object value1, java.lang.Object value2)
           
 java.lang.Object getActualValue(java.lang.String content, ValidationContext context)
           
 short getAllowedFacets()
           
 
Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleDV

public DoubleDV()
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

compare

public int compare(java.lang.Object value1,
                   java.lang.Object value2)
Overrides:
compare in class TypeValidator


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