|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.grammarReader.api.AbstractGrammarReader
public abstract class AbstractGrammarReader
This is the specification of the class that builds the grammar graph from the grammar file. The implementation of this class has to have a construction with a Graph as parameter. The initialization is done via reflection, and that is the only constructor that it uses.
Control Version
Constructor Summary | |
---|---|
AbstractGrammarReader()
|
Method Summary | |
---|---|
abstract String |
getDelimiters()
Returns the delimiters that separates the tokens. |
abstract StartingNode |
getStartingNode()
Returns the token that is the entering point to the graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGrammarReader()
Method Detail |
---|
public abstract String getDelimiters() throws DelimitersIncorrectlyDefinedException
DelimitersIncorrectlyDefinedException
- If the delimiters are wrongly defined in the grammar.public abstract StartingNode getStartingNode() throws AbstractDB2SAException
AbstractDB2SAException
- If there is null parameter; If the graph is invalid; If the
grammar file in invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |