Class Fragment
-
- org.thymeleaf.standard.expression.Fragment
-
public final class Fragment extends
Class that models the result of a
FragmentExpression
, i.e. the result of a fragment expression in the form of~{template :: fragment? (parameters)?}
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Field Summary
Fields Modifier and Type Field Description static Fragment
EMPTY_FRAGMENT
-
Constructor Summary
Constructors Constructor Description Fragment(TemplateModel templateModel, <,> parameters, boolean syntheticParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <,>
getParameters()
TemplateModel
getTemplateModel()
boolean
hasSyntheticParameters()
toString()
void
writer)
-
-
-
Field Detail
-
EMPTY_FRAGMENT
public static final Fragment EMPTY_FRAGMENT
-
-
Constructor Detail
-
Fragment
public Fragment(TemplateModel templateModel, <,> parameters, boolean syntheticParameters)
-
-
Method Detail
-
getTemplateModel
public TemplateModel getTemplateModel()
-
getParameters
public <,> getParameters()
-
hasSyntheticParameters
public boolean hasSyntheticParameters()
-
write
public void write( writer) throws
- Throws:
-
toString
public toString()
- Overrides:
in class
-
-