- All Known Implementing Classes:
HelloModelView
,HelloModelView
,MessagePageRenderer
,MessagePageRenderer
- Enclosing interface:
- JStachioFilter
public static interface JStachioFilter.FilterChain
A fully composed chain that renders a model by applying filtering.
- Author:
- agentgt
- API Note
- The filter chain should be stateless and threadsafe as there is no
guarantee that a filter chain will be recreated for the same
TemplateInfo
.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
A marker method that the filter is broken and should not be used.void
process
(Object model, Appendable appendable) Renders the passed in model.
-
Method Details
-
process
Renders the passed in model.- Parameters:
model
- a model assumed never to benull
.appendable
- the appendable to write to.- Throws:
IOException
- if there is an error writing to the appendable
-
isBroken
A marker method that the filter is broken and should not be used. This mainly for the filter pipeline to determine if filter should be called.- Parameters:
model
- the model that would be rendered- Returns:
- by default false
-