Class MatchingAttributeName

java.lang.Object
org.thymeleaf.processor.element.MatchingAttributeName

public final class MatchingAttributeName extends Object

This class models the way in which an IElementProcessor can match an element by one of its attributes.

It allows the definition of a matching for a specific attribute with a specific prefix (usually that of the dialect including the processor), for every attribute with a specific prefix, and also for simply every attribute.

Objects of this class are normally built by the constructors of the processors or their extended abstract processor classes.

Since:
3.0.0
  • Field Details

    • templateMode

      private final TemplateMode templateMode
    • matchingAttributeName

      private final AttributeName matchingAttributeName
    • matchingAllAttributesWithPrefix

      private final String matchingAllAttributesWithPrefix
    • matchingAllAttributes

      private final boolean matchingAllAttributes
  • Constructor Details

    • MatchingAttributeName

      private MatchingAttributeName(TemplateMode templateMode, AttributeName matchingAttributeName, String matchingAllAttributesWithPrefix, boolean matchingAllAttributes)
  • Method Details