OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EscapeMode
(Results
26 - 39
of
39
) sorted by null
1
2
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
TemplateCompiler.java
20
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
71
public Template load(String templateName, ResourceLoader resourceLoader,
EscapeMode
escapeMode
) {
72
return compile(templateFactory.find(templateName, resourceLoader,
escapeMode
), templateName,
73
escapeMode
);
77
public Template createTemp(String name, String content,
EscapeMode
escapeMode
) {
78
return compile(templateFactory.createTemp(content,
escapeMode
), name,
escapeMode
);
88
private Template compile(TemplateSyntaxTree ast, String templateName,
EscapeMode
mode)
[
all
...]
TemplateTranslator.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
195
FunctionExecutor.class, Value.class,
EscapeMode
.class, IOException.class);
273
// setNode1.setEscapeMode(
EscapeMode
.ESCAPE_IS_CONSTANT);
550
java.writeStatement(callOn(CONTEXT, "pushAutoEscapeMode", callOn(symbol("
EscapeMode
"),
768
argStatus[i] = JavaExpression.symbol("
EscapeMode
.ESCAPE_NONE");
[
all
...]
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
PrecompiledTemplateLoader.java
20
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
67
// The template's
escapeMode
is not currently used as the autoescaping is all
71
compiledTemplate.setEscapeMode(
EscapeMode
.ESCAPE_NONE);
104
public Template load(String templateName, ResourceLoader resourceLoader,
EscapeMode
escapeMode
) {
106
PrecompiledTemplateMapKey mapKey = new PrecompiledTemplateMapKey(key,
escapeMode
);
111
return nextLoader.load(templateName, resourceLoader,
escapeMode
);
119
public Template createTemp(String name, String content,
EscapeMode
escapeMode
) {
120
return nextLoader.createTemp(name, content,
escapeMode
);
[
all
...]
PrecompiledTemplateMapFileReader.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
117
EscapeMode
escapeMode
;
119
escapeMode
=
EscapeMode
.ESCAPE_NONE;
123
escapeMode
=
EscapeMode
.computeEscapeMode(escapeCmd);
129
PrecompiledTemplateMapKey key = new PrecompiledTemplateMapKey(templateName,
escapeMode
);
/external/jsilver/src/com/google/clearsilver/jsilver/data/
UnmodifiableData.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
122
public void setEscapeMode(
EscapeMode
mode) {
DefaultDataContext.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
91
createLocalVariableByValue(name, value,
EscapeMode
.ESCAPE_NONE);
95
public void createLocalVariableByValue(String name, String value,
EscapeMode
mode) {
167
public
EscapeMode
findVariableEscapeMode(String name) {
170
return
EscapeMode
.ESCAPE_NONE;
DelegatedData.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
295
public void setEscapeMode(
EscapeMode
mode) {
300
public
EscapeMode
getEscapeMode() {
/external/jsilver/src/com/google/clearsilver/jsilver/
JSilver.java
20
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
251
EscapeMode
escapeMode
= getEscapeMode(data);
252
render(templateLoader.load(templateName, resourceLoader,
escapeMode
), data, output,
343
EscapeMode
escapeMode
= getEscapeMode(data);
344
render(templateLoader.createTemp("[renderFromContent]", content,
escapeMode
), data, output);
367
* @return
EscapeMode
369
public
EscapeMode
getEscapeMode(Data data) {
370
EscapeMode
escapeMode
[
all
...]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
AutoEscaper.java
20
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
61
private final
EscapeMode
escapeMode
;
72
public AutoEscaper(
EscapeMode
mode, String templateName) {
74
if (mode.equals(
EscapeMode
.ESCAPE_NONE)) {
78
escapeMode
= mode;
89
* #AutoEscaper(
EscapeMode
, String) instead. It specifies the template being auto escaped, which
94
public AutoEscaper(
EscapeMode
mode) {
100
if (!
escapeMode
.isAutoEscapingMode()) {
101
// For an explicit
EscapeMode
like {@code EscapeMode.ESCAPE_HTML}, w
[
all
...]
SyntaxTreeDumper.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
144
TemplateSyntaxTree tree = builder.parse(reader, filename,
EscapeMode
.ESCAPE_NONE);
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
InterpretedMacro.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
88
public
EscapeMode
getEscapeMode() {
ExpressionEvaluator.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
105
Value result = literalValue(value,
EscapeMode
.ESCAPE_IS_CONSTANT, false);
112
setResult(literalValue(Integer.parseInt(value),
EscapeMode
.ESCAPE_IS_CONSTANT, false));
119
setResult(literalValue(Integer.parseInt(value, 16),
EscapeMode
.ESCAPE_IS_CONSTANT, false));
TemplateInterpreter.java
19
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
279
EscapeMode
mode =
EscapeMode
.computeEscapeMode(escapeStrategy);
423
&& !value.getEscapeMode().equals(
EscapeMode
.ESCAPE_NONE);
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
JCs.java
20
import com.google.clearsilver.jsilver.autoescape.
EscapeMode
;
114
private
EscapeMode
getEscapeMode() {
Completed in 161 milliseconds
1
2