Package io.quarkus.qute
Class IncludeSectionHelper
- java.lang.Object
-
- io.quarkus.qute.IncludeSectionHelper
-
- All Implemented Interfaces:
SectionHelper
- Direct Known Subclasses:
UserTagSectionHelper
public class IncludeSectionHelper extends Object implements SectionHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIncludeSectionHelper.Factory-
Nested classes/interfaces inherited from interface io.quarkus.qute.SectionHelper
SectionHelper.SectionResolutionContext
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,SectionBlock>extendingBlocksprotected booleanisIsolatedprotected Map<String,Expression>parametersprotected Supplier<Template>template
-
Constructor Summary
Constructors Constructor Description IncludeSectionHelper(Supplier<Template> templateSupplier, Map<String,SectionBlock> extendingBlocks, Map<String,Expression> parameters, boolean isIsolated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAdditionalEvaluatedParams(SectionHelper.SectionResolutionContext context, Map<String,Object> evaluatedParams)protected booleanoptimizeIfNoParams()CompletionStage<ResultNode>resolve(SectionHelper.SectionResolutionContext context)
-
-
-
Field Detail
-
extendingBlocks
protected final Map<String,SectionBlock> extendingBlocks
-
parameters
protected final Map<String,Expression> parameters
-
isIsolated
protected final boolean isIsolated
-
-
Constructor Detail
-
IncludeSectionHelper
public IncludeSectionHelper(Supplier<Template> templateSupplier, Map<String,SectionBlock> extendingBlocks, Map<String,Expression> parameters, boolean isIsolated)
-
-
Method Detail
-
resolve
public CompletionStage<ResultNode> resolve(SectionHelper.SectionResolutionContext context)
- Specified by:
resolvein interfaceSectionHelper- Returns:
- the result node
-
optimizeIfNoParams
protected boolean optimizeIfNoParams()
-
addAdditionalEvaluatedParams
protected void addAdditionalEvaluatedParams(SectionHelper.SectionResolutionContext context, Map<String,Object> evaluatedParams)
-
-