FileDocCategorySizeDatePackage
IntegerDV.javaAPI DocJava SE 6 API1435Tue Jun 10 00:22:42 BST 2008com.sun.org.apache.xerces.internal.impl.dv.xs

IntegerDV

public class IntegerDV extends DecimalDV
Represent the schema type "integer"
xerces.internal
author
Sandy Gao, IBM
version
$Id: IntegerDV.java,v 1.2.6.1 2005/09/06 11:43:06 neerajbj Exp $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetActualValue(java.lang.String content, com.sun.org.apache.xerces.internal.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"});
        }