org.apache.xmlbeans
Interface XmlUnsignedShort

All Superinterfaces:
XmlAnySimpleType, XmlDecimal, XmlInteger, XmlNonNegativeInteger, XmlObject, XmlTokenSource, XmlUnsignedInt, XmlUnsignedLong
All Known Subinterfaces:
XmlUnsignedByte

public interface XmlUnsignedShort
extends XmlUnsignedInt

Corresponds to the XML Schema xs:unsignedShort type. One of the derived types based on xs:decimal.

Verified to be in the range 0..65535 when validating.

Convertible to a Java int.


Nested Class Summary
static class XmlUnsignedShort.Factory
          A class with methods for creating instances of XmlUnsignedShort.
 
Field Summary
static SchemaType type
          The constant SchemaType object representing this schema type.
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 int getIntValue()
          Returns this value as an int
 int intValue()
          Deprecated. replaced with getIntValue()
 void set(int v)
          Deprecated. replaced with setIntValue(int)
 void setIntValue(int v)
          Sets this value as an int
 
Methods inherited from interface org.apache.xmlbeans.XmlUnsignedInt
getLongValue, longValue, set, setLongValue
 
Methods inherited from interface org.apache.xmlbeans.XmlInteger
bigIntegerValue, getBigIntegerValue, set, setBigIntegerValue
 
Methods inherited from interface org.apache.xmlbeans.XmlDecimal
bigDecimalValue, getBigDecimalValue, set, setBigDecimalValue
 
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final SchemaType type
The constant SchemaType object representing this schema type.

Method Detail

getIntValue

public int getIntValue()
Returns this value as an int


setIntValue

public void setIntValue(int v)
Sets this value as an int


intValue

public int intValue()
Deprecated. replaced with getIntValue()

Returns this value as an int


set

public void set(int v)
Deprecated. replaced with setIntValue(int)

Sets this value as an int