org.ourgrid.common.spec.token
Class Parenthetic

java.lang.Object
  extended by org.ourgrid.common.spec.token.Token
      extended by org.ourgrid.common.spec.token.Parenthetic

public class Parenthetic
extends Token

It is a Token object that is recognized as an Parenthetic at the CodesTable.


Constructor Summary
Parenthetic()
           
 
Method Summary
 Token readParantizer(char theChar, CharReader reader)
          Checks if the character passed as paramether is a Parenthetic.
 
Methods inherited from class org.ourgrid.common.spec.token.Token
getCode, getLine, getSymbol, setCode, setLine, setSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parenthetic

public Parenthetic()
Method Detail

readParantizer

public Token readParantizer(char theChar,
                            CharReader reader)
Checks if the character passed as paramether is a Parenthetic.

Parameters:
theChar - - Is the character that has to be checked.
reader - - Is the reader that is able to read characters from source.
Returns:
A Token object if the character was recognized or "null" if it was not.
See Also:
CodesTable