Interface IElementProcessor

All Superinterfaces:
IProcessor
All Known Subinterfaces:
IElementModelProcessor, IElementTagProcessor
All Known Implementing Classes:
AbstractAttributeModelProcessor, AbstractAttributeTagProcessor, AbstractElementModelProcessor, 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 IElementProcessor extends IProcessor

Base interface for all processors that execute on elements (tags).

The elements these processors execute on are defined by the matching element and matching attribute, defined by getMatchingElementName() and getMatchingAttributeName().

Element processors can match an element based on an element name, an attribute name, or both. But it is required that at least one option (element or attribute) be specified.

Element processors should not directly implement this interface, but instead implement one of IElementTagProcessor or IElementModelProcessor.

Since:
3.0.0
Author:
Daniel Fernández
See Also:
  • Method Details

    • getMatchingElementName

      MatchingElementName getMatchingElementName()

      Returns the element name that would make this processor match (if any).

      Returns:
      the element name.
    • getMatchingAttributeName

      MatchingAttributeName getMatchingAttributeName()

      Returns the attribute name that would make this processor match (if any).

      Returns:
      the attribute name.