public class UnsignedByte extends UnsignedShort
lValue| Constructor and Description |
|---|
UnsignedByte() |
UnsignedByte(long sValue)
ctor for UnsignedByte
|
UnsignedByte(java.lang.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, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toStringpublic UnsignedByte()
public UnsignedByte(long sValue)
throws java.lang.NumberFormatException
java.lang.Exception - will be thrown if validation failsjava.lang.NumberFormatExceptionpublic UnsignedByte(java.lang.String sValue)
throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic void setValue(long sValue)
throws java.lang.NumberFormatException
setValue in class UnsignedShortsValue - the number to setjava.lang.NumberFormatExceptionpublic static boolean isValid(long sValue)
sValue - number to check against rangeCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.