com.sun.msv.datatype.xsd

Class NegativeIntegerType

public class NegativeIntegerType extends IntegerType

"negativeInteger" type. type of the value object is IntegerValueType. See http://www.w3.org/TR/xmlschema-2/#negativeInteger for the spec v.isNegative is certainly faster than compareTo(ZERO). This the sole reason why this class exists at all.

Author: Kohsuke KAWAGUCHI

Field Summary
static NegativeIntegerTypetheInstance
Method Summary
XSDatatypegetBaseType()
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final NegativeIntegerType theInstance

Method Detail

getBaseType

public final XSDatatype getBaseType()

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)