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

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


org.apache.axis.types
Class UnsignedByte

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

public class UnsignedByte
extends UnsignedShort

Custom class for supporting primitive XSD data type UnsignedByte

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

Field Summary
 
Fields inherited from class org.apache.axis.types.UnsignedInt
lValue
 
Constructor Summary
UnsignedByte()
           
UnsignedByte(long sValue)
          ctor for UnsignedByte
UnsignedByte(String sValue)
           
 
Method Summary
 boolean isValid(long sValue)
          validate the value against the xsd value space 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

UnsignedByte

public UnsignedByte()

UnsignedByte

public UnsignedByte(long sValue)
             throws NumberFormatException
ctor for UnsignedByte

Throws:
Exception - will be thrown if validation fails
NumberFormatException

UnsignedByte

public UnsignedByte(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 UnsignedShort
Parameters:
sValue - the number to set
Throws:
NumberFormatException

isValid

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

Overrides:
isValid in class UnsignedShort
Parameters:
sValue - number to check against range


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