de.fraunhofer.ipsi.xpathDatatypes
Class XS_NonNegativeInteger

java.lang.Object
  extended by de.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
      extended by de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
          extended by de.fraunhofer.ipsi.xpathDatatypes.XS_Decimal
              extended by de.fraunhofer.ipsi.xpathDatatypes.XS_Integer
                  extended by de.fraunhofer.ipsi.xpathDatatypes.XS_NonNegativeInteger
All Implemented Interfaces:
Numeric, java.lang.Comparable<Numeric>
Direct Known Subclasses:
XS_PositiveInteger, XS_UnsignedLong

public class XS_NonNegativeInteger
extends XS_Integer


Constructor Summary
XS_NonNegativeInteger(java.math.BigInteger value)
          Constructor
 
Method Summary
<T extends XDT_AnyAtomicType>
T
castas(java.lang.Class<T> type)
          Method castas
 
Methods inherited from class de.fraunhofer.ipsi.xpathDatatypes.XS_Integer
abs, add, ceiling, compareTo, floor, longValue, mod, multiply, negate, round, roundHalfToEven, subtract, toString
 
Methods inherited from class de.fraunhofer.ipsi.xpathDatatypes.XS_Decimal
divide, doubleValue, equals, idivide
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XS_NonNegativeInteger

public XS_NonNegativeInteger(java.math.BigInteger value)
Constructor

Parameters:
value - a BigInteger
Method Detail

castas

public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type)
                                   throws java.lang.ClassCastException,
                                          XPathDTException
Method castas

Overrides:
castas in class XS_Integer
Parameters:
type - a BuiltinSimpleType
Returns:
a XS_AnySimpleType
Throws:
CastError
java.lang.ClassCastException
XPathDTException