|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TextFilter | |
---|---|
com.google.clearsilver.jsilver | |
com.google.clearsilver.jsilver.functions | |
com.google.clearsilver.jsilver.functions.escape | |
com.google.clearsilver.jsilver.functions.html |
Uses of TextFilter in com.google.clearsilver.jsilver |
---|
Methods in com.google.clearsilver.jsilver with parameters of type TextFilter | |
---|---|
void |
JSilver.registerGlobalEscaper(String name,
TextFilter escaper)
Registers a global escaper. |
void |
JSilver.registerGlobalFunction(String name,
TextFilter textFilter)
Registers a global TextFilter as function that can be used from any template. |
Uses of TextFilter in com.google.clearsilver.jsilver.functions |
---|
Fields in com.google.clearsilver.jsilver.functions with type parameters of type TextFilter | |
---|---|
protected Map<String,TextFilter> |
FunctionRegistry.escapers
|
Methods in com.google.clearsilver.jsilver.functions with parameters of type TextFilter | |
---|---|
void |
FunctionRegistry.registerEscapeMode(String name,
TextFilter escaper)
Registers an escaper, that is called when executing a <?cs escape ?> command. |
void |
FunctionRegistry.registerFunction(String name,
TextFilter textFilter)
Register a TextFilter as a Function that takes a single String argument and returns the filtered value. |
void |
FunctionRegistry.registerFunction(String name,
TextFilter textFilter,
boolean isEscaper)
|
Uses of TextFilter in com.google.clearsilver.jsilver.functions.escape |
---|
Classes in com.google.clearsilver.jsilver.functions.escape that implement TextFilter | |
---|---|
class |
HtmlEscapeFunction
This class HTML escapes a string in the same way as the ClearSilver html_escape function. |
class |
JsEscapeFunction
This Javascript escapes the string so it will be valid data for placement into a Javascript string. |
class |
JsValidateUnquotedLiteral
This function will be used to sanitize variables introduced into javascript that are not string literals. |
class |
NullEscapeFunction
Returns the input string without any modification. |
class |
SimpleEscapingFunction
Base class to make writing fast, simple escaping functions easy. |
class |
StyleEscapeFunction
This function will be used to sanitize variables in 'style' attributes. |
class |
UrlEscapeFunction
This URL encodes the string. |
Uses of TextFilter in com.google.clearsilver.jsilver.functions.html |
---|
Classes in com.google.clearsilver.jsilver.functions.html that implement TextFilter | |
---|---|
class |
BaseUrlValidateFunction
Validates that a given string is either something that looks like a relative URI, or looks like an absolute URI using one of a set of allowed schemes (http, https, ftp, mailto). |
class |
CssUrlValidateFunction
Validates that input string is a valid URI. |
class |
HtmlStripFunction
This class implements the html_strip function. |
class |
HtmlUrlValidateFunction
Validates that a given string is a valid URI and return the HTML escaped string if it is. |
class |
TextHtmlFunction
This class implements the ClearSilver text_html function. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |