org.apache.axis.types

Class UnsignedShort

public class UnsignedShort extends UnsignedInt

Custom class for supporting primitive XSD data type UnsignedShort

Author: Chris Haddad

See Also: XML Schema 3.3.23

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

Constructor Detail

UnsignedShort

public UnsignedShort()

UnsignedShort

public UnsignedShort(long sValue)
ctor for UnsignedShort

Throws: NumberFormatException will be thrown if validation fails

UnsignedShort

public UnsignedShort(String sValue)

Method Detail

isValid

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

setValue

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

Parameters: sValue value

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