Interface to be implemented by all element tag processors.
This kind of processors, the most common in most scenarios, are executed on the single
open element or standalone element tag that matches their matching configuration
(see
IElementProcessor.
Using the
structureHandler
For any actions involving modifications to the tag being processed or the markup structure, processors will
use the
IElementTagStructureHandler objects passed as argument to the
#process(ITemplateContext,IProcessableElementTag,IElementTagStructureHandler) method.
See the documentation for
IElementTagStructureHandler for more info.
Abstract implementations
Two basic abstract implementations of this interface are offered:
-
AbstractElementTagProcessor, meant for processors that match element events by their element
name (i.e. without looking at any attributes).
-
AbstractAttributeTagProcessor, meant for processors that match element events by one of their
attributes (and optionally also the element name).