Package io.quarkus.qute
Interface Template.Fragment
- All Superinterfaces:
Template
- Enclosing interface:
- Template
A fragment represents a part of the template that can be treated as a separate template.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.qute.Template
Template.Fragment -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetId()Note that fragment identifiers must be unique in a template.default booleanMethods inherited from interface io.quarkus.qute.Template
data, data, data, data, data, data, findExpression, getExpressions, getFragment, getFragmentIds, getGeneratedId, getParameterDeclarations, getVariant, instance, render, render
-
Field Details
-
ATTRIBUTE
An attibute with this key is added to a template instance of a fragment.
-
-
Method Details
-
getId
String getId()Note that fragment identifiers must be unique in a template. -
getOriginalTemplate
Template getOriginalTemplate()- Returns:
- the template this fragment originates from
-
isFragment
default boolean isFragment()- Specified by:
isFragmentin interfaceTemplate- Returns:
trueif this template is a fragment,falseotherwise
-