org.apache.axis.types
Class Token
- java.io.Serializable
Custom class for supporting primitive XSD data type Token.
token represents tokenized strings.
The base type of token is normalizedString.
static boolean | isValid(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(String stValue) -
validates the data and sets the value for the object.
|
Token
public Token(String stValue)
throws IllegalArgumentException
ctor for Token
isValid
public static boolean isValid(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. The lexical 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.
- isValid in interface NormalizedString
setValue
public void setValue(String stValue)
throws IllegalArgumentException
validates the data and sets the value for the object.
- setValue in interface NormalizedString
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.