FileDocCategorySizeDatePackage
IntegerDV.javaAPI DocJava SE 5 API3474Fri Aug 26 14:55:48 BST 2005com.sun.org.apache.xerces.internal.impl.dv.xs

IntegerDV

public class IntegerDV extends DecimalDV
Represent the schema type "integer"
author
Sandy Gao, IBM
version
$Id: IntegerDV.java,v 1.1 2002/11/18 23:10:10 sandygao 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"});
        }