XSD
Class Integer

java.lang.Object
  |
  +--Datatypes.Datatype
        |
        +--XSD.AnySimpleType
              |
              +--XSD.Decimal
                    |
                    +--XSD.Integer
Direct Known Subclasses:
Integer, Long, NonNegativeInteger

public class Integer
extends Decimal


Field Summary
 
Fields inherited from class XSD.Decimal
roottype
 
Fields inherited from class Datatypes.Datatype
nativeValue
 
Constructor Summary
Integer()
           
Integer(Datatype value)
           
Integer(java.lang.String lform)
           
 
Method Summary
 boolean isValidForm(java.lang.String lform)
          Returns true if lexical form is a member of the datatype's lexical space, else returns false.
 boolean isValidValue(Datatype value)
          Returns true if value is a member of the datatype's value space, else returns false.
 java.lang.String lexicalForm()
          Returns a valid lexical form (string representation) of the value.
 
Methods inherited from class XSD.Decimal
compareTo, equals, setValue
 
Methods inherited from class Datatypes.Datatype
compare, equal, getNativeValue, lookup, register, setValue, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Integer

public Integer()

Integer

public Integer(java.lang.String lform)
        throws InvalidLexicalForm

Integer

public Integer(Datatype value)
        throws InvalidValue
Method Detail

lexicalForm

public java.lang.String lexicalForm()
Description copied from class: Datatype
Returns a valid lexical form (string representation) of the value.

Overrides:
lexicalForm in class Decimal

isValidForm

public boolean isValidForm(java.lang.String lform)
Description copied from class: Datatype
Returns true if lexical form is a member of the datatype's lexical space, else returns false.

Overrides:
isValidForm in class Decimal

isValidValue

public boolean isValidValue(Datatype value)
Description copied from class: Datatype
Returns true if value is a member of the datatype's value space, else returns false.

Overrides:
isValidValue in class Decimal