Class EqualsMatchSelector


public class EqualsMatchSelector extends AbstractAttributeSelector
An "attribute value selector" matches an element if the element has an attribute with the specified name and value.
Author:
Werner Randelshofer
  • Constructor Details

    • EqualsMatchSelector

      public EqualsMatchSelector(@Nullable SourceLocator sourceLocator, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String attributeValue)
      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
      attributeValue - the attribute value
  • Method Details