org.apache.axis.types
Class UnsignedByte
java.lang.Object
   java.lang.Number
java.lang.Number
       org.apache.axis.types.UnsignedInt
org.apache.axis.types.UnsignedInt
           org.apache.axis.types.UnsignedShort
org.apache.axis.types.UnsignedShort
               org.apache.axis.types.UnsignedByte
org.apache.axis.types.UnsignedByte
- All Implemented Interfaces: 
- java.lang.Comparable, java.io.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
 
 
 
| Method Summary | 
| static 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 java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
UnsignedByte
public UnsignedByte()
UnsignedByte
public UnsignedByte(long sValue)
             throws java.lang.NumberFormatException
- ctor for UnsignedByte
 
- Throws:
- java.lang.Exception- will be thrown if validation fails
- java.lang.NumberFormatException
UnsignedByte
public UnsignedByte(java.lang.String sValue)
             throws java.lang.NumberFormatException
setValue
public void setValue(long sValue)
              throws java.lang.NumberFormatException
- validates the data and sets the value for the object.
 
- 
- Overrides:
- setValuein class- UnsignedShort
 
- 
- Parameters:
- sValue- the number to set
- Throws:
- java.lang.NumberFormatException
 
isValid
public static boolean isValid(long sValue)
- validate the value against the xsd value space definition
 
- 
- Parameters:
- sValue- number to check against range
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.