org.apache.xerces.impl.dv.xs

Class DoubleDV


public class DoubleDV
extends TypeValidator

Represent the schema type "double"
Version:
$Id: DoubleDV.java,v 1.12 2005/07/14 04:20:14 mrglavas 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()
boolean
isIdentical(Object value1, Object value2)

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

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

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

isIdentical

public boolean isIdentical(Object value1,
                           Object value2)
Overrides:
isIdentical in interface TypeValidator

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