org.apache.axis.types
public class Token extends NormalizedString
Constructor and Description |
---|
Token() |
Token(java.lang.String stValue)
ctor for Token
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(java.lang.String stValue)
validate the value against the xsd definition
The value space of token is the set of strings that do not
contain the line feed (#xA) nor tab (#x9) characters, that
have no leading or trailing spaces (#x20) and that have no
internal sequences of two or more spaces.
|
void |
setValue(java.lang.String stValue)
validates the data and sets the value for the object.
|
equals, hashCode, toString
public Token()
public Token(java.lang.String stValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- will be thrown if validation failspublic static boolean isValid(java.lang.String stValue)
public void setValue(java.lang.String stValue) throws java.lang.IllegalArgumentException
setValue
in class NormalizedString
stValue
- String valuejava.lang.IllegalArgumentException
- if invalid formatCopyright ? 2005 Apache Web Services Project. All Rights Reserved.