|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectname.angoca.db2sa.core.syntax.AbstractSyntacticalAnalyzer
name.angoca.db2sa.core.syntax.ImplSyntaxAnalyzer
public final class ImplSyntaxAnalyzer
This is the implementation of the syntax analyzer. This is almost the most
important part of the application.
Control Version
| Constructor Summary | |
|---|---|
ImplSyntaxAnalyzer()
Constructor that sets a token that permits to scan the graph. |
|
| Method Summary | |
|---|---|
static void |
destroyInstance()
Destroys the instance. |
static ImplSyntaxAnalyzer |
getInstance()
Implementation of solitaire pattern, that returns the only instance of an object. |
GraphAnswer |
getOptions(List<Token> phrase)
Returns the possible options that a given phrase can have. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImplSyntaxAnalyzer()
throws InvalidGraphException
InvalidGraphException - When there is a problem when creating the graph.| Method Detail |
|---|
public static ImplSyntaxAnalyzer getInstance()
throws InvalidGraphException
InvalidGraphException - When there is a problem at graph creation.public static void destroyInstance()
public GraphAnswer getOptions(List<Token> phrase)
throws InvalidGraphException
AbstractSyntacticalAnalyzer
getOptions in class AbstractSyntacticalAnalyzerphrase - Phrase to analyze. This is an ensemble of tokens that are
sorted in the same way that words were written by the user.
InvalidGraphException - When the graph has an invalid structure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
