de.fraunhofer.ipsi.xpathDatatypes
Class XS_Short
java.lang.Object
de.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
de.fraunhofer.ipsi.xpathDatatypes.XS_Decimal
de.fraunhofer.ipsi.xpathDatatypes.XS_Integer
de.fraunhofer.ipsi.xpathDatatypes.XS_Long
de.fraunhofer.ipsi.xpathDatatypes.XS_Int
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 |
|
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 java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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