org.apache.xerces.impl.dv.xs

Class 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 $

Authors:
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

Method Summary

int
compare(Object value1, Object value2)
Object
getActualValue(String content, ValidationContext context)
short
getAllowedFacets()

Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator

checkExtraRules, compare, getActualValue, getAllowedFacets, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit

Method Details

compare

public int compare(Object value1,
                   Object value2)
Overrides:
compare in interface TypeValidator


getActualValue

public Object getActualValue(String content,
                             ValidationContext context)
            throws InvalidDatatypeValueException
Overrides:
getActualValue in interface TypeValidator


getAllowedFacets

public short getAllowedFacets()
Overrides:
getAllowedFacets in interface TypeValidator


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.