|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValangBased
Objects that are based on the ValangParser should implement this interface.
| Method Summary | |
|---|---|
void |
addCustomFunction(String functionName,
String functionClassName)
Adds the a new custom function to be used in the valang el. |
void |
setCustomFunctions(Map<String,Object> functionByName)
Sets custom functions that should be registered with the used ValangParser. |
void |
setDateParsers(Map parserByRegexp)
Sets the date parser that should be registered with the used ValangParser. |
| Method Detail |
|---|
void addCustomFunction(String functionName,
String functionClassName)
functionName - The name of the function.functionClassName - The fully qualified class name of the function.void setCustomFunctions(Map<String,Object> functionByName)
ValangParser.
functionByName - the custom functions where the key is the function name and the value is the function
class FQN.void setDateParsers(Map parserByRegexp)
ValangParser.
parserByRegexp - the date parsers where the key is the regexp associated with the parser and the value
is the parser class FQN.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||