org.apache.axis.types

Class UnsignedByte

Implemented Interfaces:
java.lang.Comparable

public class UnsignedByte
extends UnsignedShort

Custom class for supporting primitive XSD data type UnsignedByte
Author:
Chris Haddad
See Also:
XML Schema 3.3.24

Field Summary

Fields inherited from class org.apache.axis.types.UnsignedInt

lValue

Constructor Summary

UnsignedByte()
UnsignedByte(String sValue)
UnsignedByte(long sValue)
ctor for UnsignedByte

Method Summary

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.

Methods inherited from class org.apache.axis.types.UnsignedShort

isValid, setValue

Methods inherited from class org.apache.axis.types.UnsignedInt

byteValue, compareTo, doubleValue, equals, floatValue, hashCode, intValue, isValid, longValue, setValue, shortValue, toString

Constructor Details

UnsignedByte

public UnsignedByte()

UnsignedByte

public UnsignedByte(String sValue)
            throws NumberFormatException

UnsignedByte

public UnsignedByte(long sValue)
            throws NumberFormatException
ctor for UnsignedByte

Method Details

isValid

public static boolean isValid(long sValue)
validate the value against the xsd value space definition
Overrides:
isValid in interface UnsignedShort
Parameters:
sValue - number to check against range

setValue

public void setValue(long sValue)
            throws NumberFormatException
validates the data and sets the value for the object.
Overrides:
setValue in interface UnsignedShort
Parameters:
sValue - the number to set

Copyright © 2005 Apache Web Services Project. All Rights Reserved.