Modifier and Type | Class and Description |
---|---|
static class |
Context.Library |
ScopeMap.ScopeMapEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_MACROS_SCOPE_KEY |
Constructor and Description |
---|
Context() |
Context(Context parent) |
Context(Context parent,
Map<String,?> bindings) |
Context(Context parent,
Map<String,?> bindings,
Map<Context.Library,Set<String>> disabled) |
clear, containsKey, containsValue, entrySet, get, get, getScope, isEmpty, keySet, put, putAll, remove, size, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String GLOBAL_MACROS_SCOPE_KEY
public Context()
public Context(Context parent)
public Map<String,MacroFunction> getGlobalMacros()
public void addGlobalMacro(MacroFunction macro)
public MacroFunction getGlobalMacro(String identifier)
public boolean isGlobalMacro(String identifier)
public boolean isAutoEscape()
public void setAutoEscape(Boolean autoEscape)
public void addResolvedExpression(String expression)
public boolean wasExpressionResolved(String expression)
public void addResolvedValue(String value)
public boolean wasValueResolved(String value)
public void addResolvedFunction(String value)
public void removeSuperBlock()
@SafeVarargs public final void registerClasses(Class<? extends Importable>... classes)
public Collection<ExpTest> getAllExpTests()
public void registerExpTest(ExpTest t)
public Collection<Filter> getAllFilters()
public void registerFilter(Filter f)
public boolean isFunctionDisabled(String name)
public ELFunctionDefinition getFunction(String name)
public Collection<ELFunctionDefinition> getAllFunctions()
public void registerFunction(ELFunctionDefinition f)
public Collection<Tag> getAllTags()
public void registerTag(Tag t)
public CallStack getExtendPathStack()
public CallStack getImportPathStack()
public CallStack getIncludePathStack()
public CallStack getMacroStack()
public int getRenderDepth()
public void setRenderDepth(int renderDepth)
public void addDependencies(com.google.common.collect.SetMultimap<String,String> dependencies)
Copyright © 2017. All rights reserved.