|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnalyzer
Interface for classes responsible for syntactic analysis of a specified type of tokens, which allows for mapping of
given Strings to appropriate Objects.
| Method Summary | |
|---|---|
List<Object> |
analyze(String tokenToAnalyze)
Analyzes a given token and returns an appropriate object. |
IAnalyzer |
createCopy()
Creates a copy of the current analyzer. |
List<Class<?>> |
getReturnTypes()
Retrieves the return types of the analyze(String) method. |
boolean |
isComplete()
Checks whether current analyzer is fully configured - all necessary parameters are present and the the analysis process can be performed. |
void |
setDefaultValue(String defaultValue)
Sets the default value for the analyzer. |
| Method Detail |
|---|
List<Object> analyze(String tokenToAnalyze)
throws UnsupportedTokenException
tokenToAnalyze - the token to analyze
UnsupportedTokenExceptionList<Class<?>> getReturnTypes()
analyze(String) method.
IAnalyzer createCopy()
void setDefaultValue(String defaultValue)
defaultValue - the analyzer's default valueboolean isComplete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||