FileDocCategorySizeDatePackage
IntegerDV.javaAPI DocApache Xerces 3.0.11601Fri Sep 14 20:33:52 BST 2007org.apache.xerces.impl.dv.xs

IntegerDV

public class IntegerDV extends DecimalDV
Represent the schema type "integer"
xerces.internal
author
Sandy Gao, IBM
version
$Id: IntegerDV.java 446745 2006-09-15 21:43:58Z mrglavas $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetActualValue(java.lang.String content, org.apache.xerces.impl.dv.ValidationContext context)

        try {
            return new XDecimal(content, true);
        } catch (NumberFormatException nfe) {
            throw new InvalidDatatypeValueException("cvc-datatype-valid.1.2.1", new Object[]{content, "integer"});
        }