Class EagerSetTag
- java.lang.Object
-
- com.hubspot.jinjava.lib.tag.eager.EagerTagDecorator<T>
-
- com.hubspot.jinjava.lib.tag.eager.EagerStateChangingTag<SetTag>
-
- com.hubspot.jinjava.lib.tag.eager.EagerSetTag
-
- All Implemented Interfaces:
Importable
,FlexibleTag
,Tag
,Serializable
public class EagerSetTag extends EagerStateChangingTag<SetTag> implements FlexibleTag
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EagerSetTag()
EagerSetTag(SetTag setTag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
eagerInterpret(TagNode tagNode, JinjavaInterpreter interpreter, InterpretException e)
Return the string value of interpreting this tag node knowing that a deferred value has been encountered.boolean
hasEndTag(TagToken tagToken)
-
Methods inherited from class com.hubspot.jinjava.lib.tag.eager.EagerStateChangingTag
innerInterpret
-
Methods inherited from class com.hubspot.jinjava.lib.tag.eager.EagerTagDecorator
buildToken, getEagerImage, getEagerTagImage, getEndTagName, getName, getTag, interpret, isRenderedInValidationMode, renderChildren
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hubspot.jinjava.lib.tag.Tag
interpretOutput
-
-
-
-
Constructor Detail
-
EagerSetTag
public EagerSetTag()
-
EagerSetTag
public EagerSetTag(SetTag setTag)
-
-
Method Detail
-
eagerInterpret
public String eagerInterpret(TagNode tagNode, JinjavaInterpreter interpreter, InterpretException e)
Description copied from class:EagerTagDecorator
Return the string value of interpreting this tag node knowing that a deferred value has been encountered. The tag node can not simply get evaluated normally in this circumstance.- Overrides:
eagerInterpret
in classEagerStateChangingTag<SetTag>
- Parameters:
tagNode
- TagNode to interpret.interpreter
- The JinjavaInterpreter.e
- The exception that required non-default interpretation. May be null- Returns:
- The string result of performing an eager interpretation of the TagNode
-
hasEndTag
public boolean hasEndTag(TagToken tagToken)
- Specified by:
hasEndTag
in interfaceFlexibleTag
-
-