jxl.xlp
Class ParserTable

java.lang.Object
  extended by jxl.xlp.ParserTable

public class ParserTable
extends java.lang.Object

Author:
Alex Lynch (jxlynch@users.sf.net)

Constructor Summary
protected ParserTable(java.lang.String name, java.lang.String version)
          Creates a new instance of Parser
 
Method Summary
 void addExprType(ExprType type, boolean topLevel)
           
 void addSkip(java.util.regex.Pattern skip)
           
 void addToken(Token t)
           
 ExprType getExprType(java.lang.String name)
           
 java.lang.String getName()
          Getter for property name.
 java.util.List<java.util.regex.Pattern> getSkips()
          Getter for property skips.
 Token getToken(java.lang.String name)
           
 java.util.List<ExprType> getTopLevelExprs()
          Getter for property rootElems.
 java.lang.String getVersion()
          Getter for property version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserTable

protected ParserTable(java.lang.String name,
                      java.lang.String version)
               throws java.lang.Exception
Creates a new instance of Parser

Throws:
java.lang.Exception
Method Detail

addToken

public void addToken(Token t)

addSkip

public void addSkip(java.util.regex.Pattern skip)

getToken

public Token getToken(java.lang.String name)

addExprType

public void addExprType(ExprType type,
                        boolean topLevel)

getExprType

public ExprType getExprType(java.lang.String name)

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

getVersion

public java.lang.String getVersion()
Getter for property version.

Returns:
Value of property version.

getTopLevelExprs

public java.util.List<ExprType> getTopLevelExprs()
Getter for property rootElems.

Returns:
Value of property rootElems.

getSkips

public java.util.List<java.util.regex.Pattern> getSkips()
Getter for property skips.

Returns:
Value of property skips.