Class UnsignedByte
java.lang.Object
java.lang.Number
org.apache.axis2.databinding.types.UnsignedInt
org.apache.axis2.databinding.types.UnsignedShort
org.apache.axis2.databinding.types.UnsignedByte
- All Implemented Interfaces:
Serializable
Custom class for supporting primitive XSD data type UnsignedByte
- See Also:
-
Field Summary
Fields inherited from class org.apache.axis2.databinding.types.UnsignedInt
lValue -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.axis2.databinding.types.UnsignedInt
byteValue, 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:
setValuein 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
-