org.apache.axis.types

Class UnsignedByte

public class UnsignedByte extends UnsignedShort

Custom class for supporting primitive XSD data type UnsignedByte

Author: Chris Haddad

See Also: XML Schema 3.3.24

Constructor Summary
UnsignedByte()
UnsignedByte(long sValue)
ctor for UnsignedByte
UnsignedByte(String sValue)
Method Summary
static booleanisValid(long sValue)
validate the value against the xsd value space definition
voidsetValue(long sValue)
validates the data and sets the value for the object.

Constructor Detail

UnsignedByte

public UnsignedByte()

UnsignedByte

public UnsignedByte(long sValue)
ctor for UnsignedByte

Throws: Exception will be thrown if validation fails

UnsignedByte

public UnsignedByte(String sValue)

Method Detail

isValid

public static boolean isValid(long sValue)
validate the value against the xsd value space definition

Parameters: sValue number to check against range

setValue

public void setValue(long sValue)
validates the data and sets the value for the object.

Parameters: sValue the number to set

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.