Register escapers or filters. A class that is annotated represents a content type such as Html and will be used as a factory for creating escapers as well as a marker for the content type.
There are two supported escaper types:
On the otherhand the Escaper interfaces allows potentially greater performance if you need to escape native types. n.b. the class annotated does not need to implement the interfaces
- agentgt, Victor Nazarov
- See Also:
Nested Class SummaryModifier and TypeClassDescription
static final classA sentinel null object content type marker to auto resolve the content type based on config found elsewhere.
Optional Element Summary
providesMethodA static method that will return an implementation of
- default method name is
providerjust like the
mediaTypeMedia Type of the template to help in renderer lookup.
- media type of the template or empty string no media type