de.fraunhofer.ipsi.xpathDatatypes
Class XS_Short

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_Long
                      extended by de.fraunhofer.ipsi.xpathDatatypes.XS_Int
                          extended by de.fraunhofer.ipsi.xpathDatatypes.XS_Short
All Implemented Interfaces:
Numeric, java.lang.Comparable<Numeric>
Direct Known Subclasses:
XS_Byte

public class XS_Short
extends XS_Int


Constructor Summary
XS_Short(short value)
          Constructor
XS_Short(java.lang.String s)
          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_Int
intValue
 
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_Short

public XS_Short(short value)
Constructor

Parameters:
value - a short

XS_Short

public XS_Short(java.lang.String s)
Constructor

Parameters:
s - a XS_String
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_Int
Parameters:
type - a BuiltinSimpleType
Returns:
a XS_AnySimpleType
Throws:
CastError
java.lang.ClassCastException
XPathDTException