|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionExecutor
Execute functions in templates.
Method Summary | |
---|---|
void |
escape(String name,
String input,
Appendable output)
Escapes some text. |
Value |
executeFunction(String functionName,
Value... args)
Lookup a function by name, execute it and return the results. |
boolean |
isEscapingFunction(String name)
Look up a function by name, and report whether it is an escaping function. |
Method Detail |
---|
Value executeFunction(String functionName, Value... args)
void escape(String name, String input, Appendable output) throws IOException
name
- Strategy for escaping text. If null or "none", text will be left as is.input
- Text to be escaped.output
- Where to write the result to.
IOException
boolean isEscapingFunction(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |