com.xml_project.morganaxdm
Class XS_Short

java.lang.Object
  extended by com.xml_project.morganaxdm.XdmSequence
      extended by com.xml_project.morganaxdm.XdmItem
          extended by com.xml_project.morganaxdm.XdmValue
              extended by com.xml_project.morganaxdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxdm.XS_Numeric
                          extended by com.xml_project.morganaxdm.XS_Integer
                              extended by com.xml_project.morganaxdm.XS_Short
All Implemented Interfaces:
XS_AnyType, java.lang.Iterable<XdmItem>

public class XS_Short
extends XS_Integer

Implementation of xs:short


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xml_project.morganaxdm.XS_Numeric
XS_Numeric.Functions, XS_Numeric.Operations
 
Nested classes/interfaces inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static java.math.BigInteger MAX_VALUE
           
static java.math.BigInteger MIN_VALUE
           
static javax.xml.namespace.QName TypeName
           
 
Fields inherited from class com.xml_project.morganaxdm.XS_Integer
MINUS_ONE, ONE, ZERO
 
Fields inherited from class com.xml_project.morganaxdm.XS_Numeric
NaN_StringValue, NegativeINF_StringValue, PositiveINF_StringValue
 
Constructor Summary
XS_Short(java.lang.Short value)
           
 
Method Summary
static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
           
 java.lang.String getStringValue()
          Returns the string value.
 javax.xml.namespace.QName getTypeName()
           
 java.math.BigInteger getValue()
          Returns the value itself.
static XS_Short newInstance(XdmValue value)
           
 
Methods inherited from class com.xml_project.morganaxdm.XS_Integer
arithmetic, canCast, compareValues, effectiveBooleanValue, function, getRawValue, isNaN, makeXS_Integer, makeXS_Integer, newInstance, newInstance
 
Methods inherited from class com.xml_project.morganaxdm.XS_Numeric
compareValues, getPromotionClass, getPromotionClass, isOrdered, makeDouble, makeOperand, makeOperand, makeOperands, promoteTo
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxdm.XdmSequence
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TypeName

public static final javax.xml.namespace.QName TypeName

MIN_VALUE

public static final java.math.BigInteger MIN_VALUE

MAX_VALUE

public static final java.math.BigInteger MAX_VALUE
Constructor Detail

XS_Short

public XS_Short(java.lang.Short value)
         throws XPathException
Throws:
XPathException
Method Detail

getTypeName

public javax.xml.namespace.QName getTypeName()
Specified by:
getTypeName in interface XS_AnyType
Overrides:
getTypeName in class XS_Integer

getValue

public java.math.BigInteger getValue()
Description copied from class: XdmItem
Returns the value itself.

Overrides:
getValue in class XS_Integer
Returns:
the value.

getStringValue

public java.lang.String getStringValue()
Description copied from class: XdmItem
Returns the string value.

Overrides:
getStringValue in class XS_Integer
Returns:
the string value.

getRestrictionBase

public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()

newInstance

public static XS_Short newInstance(XdmValue value)
                            throws XPathException
Throws:
XPathException