public interface FunctionExecutor
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.IOExceptionboolean isEscapingFunction(String name)
Copyright © 2010–2016 Google. All rights reserved.