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 class
IncludeSectionHelper.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>
extendingBlocks
protected boolean
isIsolated
protected Map<String,Expression>
parameters
protected 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 void
addAdditionalEvaluatedParams(SectionHelper.SectionResolutionContext context, Map<String,Object> evaluatedParams)
protected boolean
optimizeIfNoParams()
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:
resolve
in interfaceSectionHelper
- Returns:
- the result node
-
optimizeIfNoParams
protected boolean optimizeIfNoParams()
-
addAdditionalEvaluatedParams
protected void addAdditionalEvaluatedParams(SectionHelper.SectionResolutionContext context, Map<String,Object> evaluatedParams)
-
-