public final class Fragment extends Object
Class that models the result of a FragmentExpression
, i.e. the result of a fragment expression in
the form of ~{template :: fragment? (parameters)?}
Modifier and Type | Field and Description |
---|---|
static Fragment |
EMPTY_FRAGMENT |
Constructor and Description |
---|
Fragment(TemplateModel templateModel,
Map<String,Object> parameters,
boolean syntheticParameters) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getParameters() |
TemplateModel |
getTemplateModel() |
boolean |
hasSyntheticParameters() |
String |
toString() |
void |
write(Writer writer) |
public static final Fragment EMPTY_FRAGMENT
public Fragment(TemplateModel templateModel, Map<String,Object> parameters, boolean syntheticParameters)
public TemplateModel getTemplateModel()
public boolean hasSyntheticParameters()
public void write(Writer writer) throws IOException
IOException
Copyright © 2016 The THYMELEAF team. All rights reserved.