Package | Description |
---|---|
org.thymeleaf | |
org.thymeleaf.fragment | |
org.thymeleaf.standard.fragment |
Modifier and Type | Method and Description |
---|---|
String |
TemplateEngine.process(String templateName,
IContext context,
IFragmentSpec fragmentSpec)
Process a template.
|
void |
TemplateEngine.process(String templateName,
IContext context,
IFragmentSpec fragmentSpec,
Writer writer)
Process a template.
|
void |
TemplateEngine.process(String templateName,
IProcessingContext processingContext,
IFragmentSpec fragmentSpec,
Writer writer)
Process a template.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainedFragmentSpec
Implementation of
IFragmentSpec that allows the execution of
two fragment specs in chain, effectively performing a double-filering. |
class |
DOMSelectorFragmentSpec
Implementation of the
IFragmentSpec interface that extracts fragments
of DOM trees using a DOMSelector object. |
class |
ElementAndAttributeNameFragmentSpec
Fragment specification that extracts a specific element from a Node tree
by its name, or by the value of one of its attributes.
|
class |
WholeFragmentSpec
Implementation of
IFragmentSpec that simply returns
whole templates, this is the same nodes used as input with
no modification, traversing or selection of any kind. |
Modifier and Type | Method and Description |
---|---|
IFragmentSpec |
ChainedFragmentSpec.getFragmentSpec1()
Returns the first fragment spec in the chain.
|
IFragmentSpec |
ChainedFragmentSpec.getFragmentSpec2()
Returns the second fragment spec in the chain.
|
Constructor and Description |
---|
ChainedFragmentSpec(IFragmentSpec fragmentSpec1,
IFragmentSpec fragmentSpec2)
Creates a new instance of this fragment spec.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardDOMSelectorFragmentSpec
Implementation of the
IFragmentSpec interface that extracts fragments
of DOM trees using a DOMSelector object and applying a
StandardFragmentSignatureNodeReferenceChecker reference checker for looking for
th:fragment-based references. |
Modifier and Type | Method and Description |
---|---|
IFragmentSpec |
StandardFragment.getFragmentSpec()
Returns the
IFragmentSpec that will be applied to the template. |
Constructor and Description |
---|
StandardFragment(String templateName,
IFragmentSpec fragmentSpec,
Map<String,Object> parameters)
Create a new instance of this class.
|
StandardFragment(String templateName,
IFragmentSpec fragmentSpec,
Map<String,Object> parameters,
String dialectPrefix,
String fragmentSignatureAttributeName)
Create a new instance of this class.
|
Copyright © 2017 The THYMELEAF team. All rights reserved.