OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AutoEscaper
(Results
1 - 2
of
2
) sorted by null
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
AutoEscaper.java
57
public class
AutoEscaper
extends DepthFirstAdapter {
66
* Create an
AutoEscaper
, which will apply the specified escaping mode. If templateName is
72
public
AutoEscaper
(EscapeMode mode, String templateName) {
75
throw new JSilverAutoEscapingException("
AutoEscaper
called when no escaping is required",
88
* Create an
AutoEscaper
, which will apply the specified escaping mode. When possible, use
89
* #
AutoEscaper
(EscapeMode, String) instead. It specifies the template being auto escaped, which
94
public
AutoEscaper
(EscapeMode mode) {
159
* Since
AutoEscaper
is being applied while building the AST, and not during rendering, the html
SyntaxTreeBuilder.java
80
*
AutoEscaper
.
84
* EscapeMode.ESCAPE_NONE,
AutoEscaper
will be called on the AST.
85
* @param templateName The name of template being processed. Passed to
AutoEscaper
, which uses it
96
//
AutoEscaper
contains per-AST context like HTML parser object.
97
// Therefore, instantiating a new
AutoEscaper
each time.
98
root.apply(new
AutoEscaper
(escapeMode, templateName));
104
* @param escapeMode Run {@link
AutoEscaper
} on the abstract syntax tree created from template.
Completed in 33 milliseconds