MCPcopy Create free account
hub / github.com/apache/freemarker / set

Method set

src/main/java/freemarker/core/CustomAttribute.java:144–146  ·  view source on GitHub ↗

Sets the value of the attribute in the context of the current environment. @param value the new value of the attribute @throws IllegalStateException if there is no current environment (and hence also no current template and configuration), therefore the attribute's current scope object can't be reso

(Object value)

Source from the content-addressed store, hash-verified

142 * attribute's current scope object can't be resolved.
143 */
144 public final void set(Object value) {
145 getScopeConfigurable().setCustomAttribute(key, value);
146 }
147
148 /**
149 * Sets the value of a template-scope attribute in the context of the given

Callers 14

_deepCloneMethod · 0.80
sortMethod · 0.80
_deepCloneMethod · 0.80
processMethod · 0.80
setChildAtMethod · 0.80
postParseCleanupMethod · 0.80
getDocumentMethod · 0.80
unwrapMethod · 0.80
packArgsMethod · 0.80
unwrapArgumentsMethod · 0.80
createInterpreterMethod · 0.80
getMethod · 0.80

Calls 2

getScopeConfigurableMethod · 0.95
setCustomAttributeMethod · 0.80

Tested by

no test coverage detected