Package org.apache.axis.types
Class UnsignedByte
java.lang.Object
java.lang.Number
org.apache.axis.types.UnsignedInt
org.apache.axis.types.UnsignedShort
org.apache.axis.types.UnsignedByte
- All Implemented Interfaces:
Serializable
,Comparable<UnsignedInt>
Custom class for supporting primitive XSD data type UnsignedByte
- Author:
- Chris Haddad <chaddad@cobia.net>
- See Also:
-
Field Summary
Fields inherited from class org.apache.axis.types.UnsignedInt
lValue
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.axis.types.UnsignedInt
byteValue, compareTo, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toString
-
Constructor Details
-
UnsignedByte
public UnsignedByte() -
UnsignedByte
ctor for UnsignedByte- Throws:
Exception
- will be thrown if validation failsNumberFormatException
-
UnsignedByte
- Throws:
NumberFormatException
-
-
Method Details
-
setValue
validates the data and sets the value for the object.- Overrides:
setValue
in classUnsignedShort
- Parameters:
sValue
- the number to set- Throws:
NumberFormatException
-
isValid
public static boolean isValid(long sValue) validate the value against the xsd value space definition- Parameters:
sValue
- number to check against range
-