Class DecoupledTemplateLogic
This class specifies containers for decoupled template logic, normally coming from separate template files (decoupled templates).
Instances of this class are built and populated by instances of DecoupledTemplateLogicBuilderMarkupHandler,
acting as handlers on the IMarkupParser being used for parsing the normal template
resources.
Once built and populated, instances of this class are handled over to
TemplateHandlerAdapterMarkupHandler instances which are one of the steps in
the template parsing chain (converting parser events into ITemplateHandler events).
Attributes specified here to be injected into the template are injected at real-time during the parsing operation
itself, so that overhead is minimal (and zero once the template is cached).
Instances of this class are not thread-safe.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInjectedAttribute(String selector, DecoupledInjectedAttribute injectedAttribute) getInjectedAttributesForSelector(String selector) booleantoString()