public class Token extends NormalizedString
| Constructor and Description |
|---|
Token() |
Token(String stValue)
ctor for Token
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
equals, hashCode, toStringpublic Token()
public Token(String stValue) throws IllegalArgumentException
IllegalArgumentException - will be thrown if validation failspublic static boolean isValid(String stValue)
public void setValue(String stValue) throws IllegalArgumentException
setValue in class NormalizedStringstValue - String valueIllegalArgumentException - if invalid formatCopyright © The Apache Software Foundation. All Rights Reserved.