站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

UnsignedShort (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.types
Class UnsignedShort

java.lang.Object
  extended byjava.lang.Number
      extended byorg.apache.axis.types.UnsignedInt
          extended byorg.apache.axis.types.UnsignedShort
All Implemented Interfaces:
Comparable, Serializable
Direct Known Subclasses:
UnsignedByte

public class UnsignedShort
extends UnsignedInt

Custom class for supporting primitive XSD data type UnsignedShort

Author:
Chris Haddad
See Also:
XML Schema 3.3.23, Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.types.UnsignedInt
lValue
 
Constructor Summary
UnsignedShort()
           
UnsignedShort(long sValue)
          ctor for UnsignedShort
UnsignedShort(String sValue)
           
 
Method Summary
 boolean isValid(long sValue)
          validate the value against the xsd definition
 void setValue(long sValue)
          validates the data and sets the value for the object.
 
Methods inherited from class org.apache.axis.types.UnsignedInt
byteValue, compareTo, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsignedShort

public UnsignedShort()

UnsignedShort

public UnsignedShort(long sValue)
              throws NumberFormatException
ctor for UnsignedShort

Throws:
NumberFormatException - will be thrown if validation fails

UnsignedShort

public UnsignedShort(String sValue)
              throws NumberFormatException
Method Detail

setValue

public void setValue(long sValue)
              throws NumberFormatException
validates the data and sets the value for the object.

Overrides:
setValue in class UnsignedInt
Throws:
NumberFormatException

isValid

public boolean isValid(long sValue)
validate the value against the xsd definition

Overrides:
isValid in class UnsignedInt


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.