org.idoox.wasp.serialization.xsdbuiltin
Class Token

java.lang.Object
  extended byorg.idoox.wasp.serialization.xsdbuiltin.NormalizedString
      extended byorg.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

Field Summary
protected  char tokenProhibitedChar
          A constant for space character.
 
Fields inherited from class org.idoox.wasp.serialization.xsdbuiltin.NormalizedString
prohibitedChars, value
 
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 org.idoox.wasp.serialization.xsdbuiltin.NormalizedString
equals, hashCode, set, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.
Method Detail

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.