org.apache.axis.types
Class UnsignedShort
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
- All Implemented Interfaces: 
- java.lang.Comparable, java.io.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
 
 
 
| Method Summary | 
| static 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 java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
UnsignedShort
public UnsignedShort()
UnsignedShort
public UnsignedShort(long sValue)
              throws java.lang.NumberFormatException
- ctor for UnsignedShort
 
- Throws:
- java.lang.NumberFormatException- will be thrown if validation fails
UnsignedShort
public UnsignedShort(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- UnsignedInt
 
- 
- Parameters:
- sValue- value
- Throws:
- java.lang.NumberFormatException
 
isValid
public static boolean isValid(long sValue)
- validate the value against the xsd definition
 
- 
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.