org.idoox.wasp.serialization.xsdbuiltin
Class Token
java.lang.Object
org.idoox.wasp.serialization.xsdbuiltin.NormalizedString
org.idoox.wasp.serialization.xsdbuiltin.Token
- All Implemented Interfaces:
- java.io.Serializable
- public class Token
- extends NormalizedString
- implements java.io.Serializable
Represent token type in the xsd built-in.
- See Also:
- Serialized Form
- Component:
- Core
|
Constructor Summary |
Token(java.lang.String value)
Constructs a Token object. |
|
Method Summary |
protected void |
check()
Throws InvalidFormatException if this object is invalid. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
tokenProhibitedChar
protected char tokenProhibitedChar
- A constant for space character.
No leading or trailing spaces and no internal space sequences (2 or more)
are allowed in the value.
Token
public Token(java.lang.String value)
throws InvalidFormatException
- Constructs a Token object.
- Parameters:
value - the string representation of a Token.
- Throws:
InvalidFormatException - if this object is invalid.
check
protected void check()
throws InvalidFormatException
- Throws InvalidFormatException if this object is invalid.
- Overrides:
check in class NormalizedString
- Throws:
InvalidFormatException - if this object is invalid.