Class EagerCallTag
- java.lang.Object
-
- com.hubspot.jinjava.lib.tag.eager.EagerTagDecorator<T>
-
- com.hubspot.jinjava.lib.tag.eager.EagerStateChangingTag<CallTag>
-
- com.hubspot.jinjava.lib.tag.eager.EagerCallTag
-
- All Implemented Interfaces:
Importable
,Tag
,Serializable
public class EagerCallTag extends EagerStateChangingTag<CallTag>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EagerCallTag()
EagerCallTag(CallTag tag)
-
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.-
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
-
EagerCallTag
public EagerCallTag()
-
EagerCallTag
public EagerCallTag(CallTag tag)
-
-
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<CallTag>
- 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
-
-