Class MatchingElementName

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

public final class MatchingElementName extends Object

This class models the way in which an IElementProcessor can match an element by its name.

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

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
    • matchingElementName

      private final ElementName matchingElementName
    • matchingAllElementsWithPrefix

      private final String matchingAllElementsWithPrefix
    • matchingAllElements

      private final boolean matchingAllElements
  • Constructor Details

    • MatchingElementName

      private MatchingElementName(TemplateMode templateMode, ElementName matchingElementName, String matchingAllElementsWithPrefix, boolean matchingAllElements)
  • Method Details