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