Interface IElementTagProcessor

All Superinterfaces:
IElementProcessor, IProcessor
All Known Implementing Classes:
AbstractAttributeTagProcessor, AbstractElementTagProcessor, AbstractStandardAssertionTagProcessor, AbstractStandardAttributeModifierTagProcessor, AbstractStandardConditionalVisibilityTagProcessor, AbstractStandardDoubleAttributeModifierTagProcessor, AbstractStandardExpressionAttributeTagProcessor, AbstractStandardFragmentInsertionTagProcessor, AbstractStandardMultipleAttributeModifierTagProcessor, AbstractStandardTargetSelectionTagProcessor, AbstractStandardTextInlineSettingTagProcessor, StandardActionTagProcessor, StandardAltTitleTagProcessor, StandardAssertTagProcessor, StandardAttrappendTagProcessor, StandardAttrprependTagProcessor, StandardAttrTagProcessor, StandardBlockTagProcessor, StandardCaseTagProcessor, StandardClassappendTagProcessor, StandardConditionalFixedValueTagProcessor, StandardDefaultAttributesTagProcessor, StandardDOMEventAttributeTagProcessor, StandardEachTagProcessor, StandardFragmentTagProcessor, StandardHrefTagProcessor, StandardIfTagProcessor, StandardIncludeTagProcessor, StandardInlineHTMLTagProcessor, StandardInlineTextualTagProcessor, StandardInlineXMLTagProcessor, StandardInsertTagProcessor, StandardLangXmlLangTagProcessor, StandardMethodTagProcessor, StandardNonRemovableAttributeTagProcessor, StandardObjectTagProcessor, StandardRefAttributeTagProcessor, StandardRemovableAttributeTagProcessor, StandardRemoveTagProcessor, StandardReplaceTagProcessor, StandardSrcTagProcessor, StandardStyleappendTagProcessor, StandardSwitchTagProcessor, StandardTextTagProcessor, StandardUnlessTagProcessor, StandardUtextTagProcessor, StandardValueTagProcessor, StandardWithTagProcessor, StandardXmlBaseTagProcessor, StandardXmlLangTagProcessor, StandardXmlNsTagProcessor, StandardXmlSpaceTagProcessor

public interface IElementTagProcessor extends IElementProcessor

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).
Since:
3.0.0
Author:
Daniel Fernández
See Also: