public class UnsignedByte extends UnsignedShort
lValue
Constructor and Description |
---|
UnsignedByte() |
UnsignedByte(long sValue)
ctor for UnsignedByte
|
UnsignedByte(String sValue) |
Modifier and Type | Method and Description |
---|---|
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.
|
byteValue, compareTo, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toString
public UnsignedByte()
public UnsignedByte(long sValue) throws NumberFormatException
Exception
- will be thrown if validation failsNumberFormatException
public UnsignedByte(String sValue) throws NumberFormatException
NumberFormatException
public void setValue(long sValue) throws NumberFormatException
setValue
in class UnsignedShort
sValue
- the number to setNumberFormatException
public static boolean isValid(long sValue)
sValue
- number to check against rangeCopyright © The Apache Software Foundation. All Rights Reserved.