当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
UnsignedShort (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
org.apache.axis.types
Class UnsignedShort
java.lang.Object
java.lang.Number
org.apache.axis.types.UnsignedInt
org.apache.axis.types.UnsignedShort
- All Implemented Interfaces:
- Comparable, Serializable
- Direct Known Subclasses:
- UnsignedByte
- public class UnsignedShort
- extends UnsignedInt
Custom class for supporting primitive XSD data type UnsignedShort
- Author:
- Chris Haddad
- See Also:
- XML Schema 3.3.23,
Serialized Form
Method Summary |
boolean |
isValid(long sValue)
validate the value against the xsd definition |
void |
setValue(long sValue)
validates the data and sets the value for the object. |
UnsignedShort
public UnsignedShort()
UnsignedShort
public UnsignedShort(long sValue)
throws NumberFormatException
- ctor for UnsignedShort
- Throws:
NumberFormatException
- will be thrown if validation fails
UnsignedShort
public UnsignedShort(String sValue)
throws NumberFormatException
setValue
public void setValue(long sValue)
throws NumberFormatException
- validates the data and sets the value for the object.
- Overrides:
setValue
in class UnsignedInt
- Throws:
NumberFormatException
isValid
public boolean isValid(long sValue)
- validate the value against the xsd definition
- Overrides:
isValid
in class UnsignedInt
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.