Class SuffixMatchSelector


public class SuffixMatchSelector extends AbstractAttributeSelector
A "suffix match selector" $= matches an element if the element has an attribute with the specified name and its value ends with the specified substring.
Author:
Werner Randelshofer
  • Constructor Details

    • SuffixMatchSelector

      public SuffixMatchSelector(@Nullable SourceLocator sourceLocator, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String suffix)
      Creates a new instance.
      Parameters:
      sourceLocator - source locator for debugging
      namespacePattern - an optional namespace ("*" means any namespace, null means no namespace)
      attributeName - the attribute name
      suffix - the suffix of the attribute value
  • Method Details