/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateMapKey.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 23 * well as the {@link EscapeMode} for which the template was compiled. 27 private final EscapeMode escapeMode; 30 public PrecompiledTemplateMapKey(Object templateName, EscapeMode escapeMode) { 32 this.escapeMode = escapeMode; 34 if (escapeMode == EscapeMode.ESCAPE_NONE) [all...] |
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/interpreter/ |
TemplateFactory.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 37 * @param escapeMode the type of escaping to apply to the entire template. 39 TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); 45 * @param escapeMode 46 * @param escapeMode the type of escaping to apply to the entire template. 48 TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode);
|
LoadingTemplateFactory.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 37 EscapeMode escapeMode) { 41 return syntaxTreeBuilder.parse(reader, templateName, escapeMode); 50 public TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode) { 51 return syntaxTreeBuilder.parse(new StringReader(content), "", escapeMode);
|
OptimizingTemplateFactory.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 58 public TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode) { 59 TemplateSyntaxTree result = wrapped.createTemp(content, escapeMode); 66 EscapeMode escapeMode) { 67 TemplateSyntaxTree result = wrapped.find(templateName, resourceLoader, escapeMode);
|
InterpretedTemplateLoader.java | 20 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { 53 resourceLoader, escapeMode), templateName, globalFunctionExecutor, autoEscapeOptions, 54 escapeMode); 58 public Template createTemp(String name, String content, EscapeMode escapingMode) {
|
InterpretedTemplate.java | 20 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 44 private final EscapeMode escapeMode; 48 FunctionExecutor functionExecutor, AutoEscapeOptions autoEscapeOptions, EscapeMode mode) { 53 this.escapeMode = mode; 85 public EscapeMode getEscapeMode() { 86 return escapeMode;
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
TemplateLoader.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 37 * @param escapeMode the type of escaping to apply to the entire template. 39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); 50 * @param escapeMode the type of escaping to apply to the entire template. 52 Template createTemp(String name, String content, EscapeMode escapeMode);
|
/external/jsilver/src/com/google/clearsilver/jsilver/values/ |
NumberValue.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 30 public NumberValue(int value, EscapeMode escapeMode, boolean partiallyEscaped) { 31 super(escapeMode, partiallyEscaped);
|
StringValue.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 30 public StringValue(String value, EscapeMode escapeMode, boolean partiallyEscaped) { 31 super(escapeMode, partiallyEscaped);
|
VariantValue.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 32 VariantValue(EscapeMode escapeMode, boolean partiallyEscaped) { 33 super(escapeMode, partiallyEscaped);
|
Value.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 32 private static final Map<EscapeMode, Value> EMPTY_PART_ESCAPED; 33 private static final Map<EscapeMode, Value> EMPTY_UNESCAPED; 34 private static final Map<EscapeMode, Value> ZERO_PART_ESCAPED; 35 private static final Map<EscapeMode, Value> ZERO_UNESCAPED; 36 private static final Map<EscapeMode, Value> ONE_PART_ESCAPED; 37 private static final Map<EscapeMode, Value> ONE_UNESCAPED; 40 // Currently a Value's EscapeMode is either ESCAPE_NONE (no escaping) or 43 // See EscapeMode.combineModes. 44 EMPTY_PART_ESCAPED = new HashMap<EscapeMode, Value>(2) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/ |
EscapeMode.java | 21 public enum EscapeMode { 41 private EscapeMode(String escapeCmd, boolean autoEscaper) { 47 * This function maps the type of escaping requested (escapeCmd) to the appropriate EscapeMode. If 49 * (EscapeMode.ESCAPE_AUTO). This mirrors the behaviour of ClearSilver. 56 public static EscapeMode computeEscapeMode(String escapeCmd, boolean doAutoEscape) { 57 EscapeMode escapeMode; 62 for (EscapeMode e : EscapeMode.values()) { 71 escapeMode = ESCAPE_AUTO [all...] |
AutoEscapeContext.java | 19 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR; 20 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR_CSS; 21 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR_JS; 22 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR_UNQUOTED_JS; 23 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR_URI; 24 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_ATTR_URI_START; 25 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_HTML; 26 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_JS; 27 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_JS_UNQUOTED; 28 import static com.google.clearsilver.jsilver.autoescape.EscapeMode.ESCAPE_AUTO_STYLE [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLVariables.cpp | 51 static bool isValidVariableEscapingModeString(const String& mode, WMLVariableEscapingMode& escapeMode) 54 escapeMode = WMLVariableEscapingEscape; 56 escapeMode = WMLVariableEscapingUnescape; 58 escapeMode = WMLVariableEscapingNone; 151 WMLVariableEscapingMode escapeMode = WMLVariableEscapingNone; 152 isValid = isValidVariableEscapingModeString(conversionString, escapeMode); 165 String substituteVariableReferences(const String& reference, Document* document, WMLVariableEscapingMode escapeMode) 247 variableValue = substituteVariableReferences(variableValue, document, escapeMode); 255 escapeMode = specifiedEscapeMode; 261 switch (escapeMode) { [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/ |
JSilverOptions.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 43 private EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; 199 * @see #setEscapeMode(com.google.clearsilver.jsilver.autoescape.EscapeMode) 201 public EscapeMode getEscapeMode() { 202 return escapeMode; 215 * @param escapeMode 217 public JSilverOptions setEscapeMode(EscapeMode escapeMode) { [all...] |
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/ |
SyntaxTreeBuilder.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 79 * Perform any additional processing on the tree. EscapeMode and templateName are required by 83 * @param escapeMode The escaping mode to apply to the given AST. If this is not 84 * EscapeMode.ESCAPE_NONE, AutoEscaper will be called on the AST. 88 protected void process(Start root, EscapeMode escapeMode, String templateName) { 95 if (!escapeMode.equals(EscapeMode.ESCAPE_NONE)) { 98 root.apply(new AutoEscaper(escapeMode, templateName)); 104 * @param escapeMode Run {@link AutoEscaper} on the abstract syntax tree created from template [all...] |
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...] |
/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...] |
BaseCompiledTemplate.java | 20 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 49 private EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; 93 * Sets the EscapeMode in which this template was generated. 95 * @param mode EscapeMode 97 public void setEscapeMode(EscapeMode mode) { 98 this.escapeMode = mode; 102 public EscapeMode getEscapeMode() { 103 return escapeMode; [all...] |
EscapingEvaluator.java | 92 // called when PropagateStatus is enabled we must check EscapeMode as 95 // ((value.getEscapeMode() != EscapeMode.ESCAPE_NONE) || value.isPartiallyEscaped()) 97 JavaExpression escapeMode = computeEscaping(expression, true); 101 JavaExpression.infix(JavaExpression.Type.BOOLEAN, "!=", escapeMode, JavaExpression 102 .symbol("EscapeMode.ESCAPE_NONE")); 179 // context.isEscapingFunction("name") ? EscapeMode.ESCAPE_IS_CONSTANT : EscapeMode.ESCAPE_NONE 182 string(name)), JavaExpression.symbol("EscapeMode.ESCAPE_IS_CONSTANT"), JavaExpression 183 .symbol("EscapeMode.ESCAPE_NONE")); 203 return JavaExpression.callOn(JavaExpression.symbol("EscapeMode"), "combineModes", first [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
AbstractData.java | 19 import com.google.clearsilver.jsilver.autoescape.EscapeMode; 28 protected EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; 136 public void setEscapeMode(EscapeMode mode) { 137 this.escapeMode = mode; 141 public EscapeMode getEscapeMode() { 142 return escapeMode;
|
/prebuilt/common/jfreechart/ |
jcommon-1.0.12.jar | |