Class ExistsMatchSelector


public class ExistsMatchSelector extends AbstractAttributeSelector
An "exists match" matches an element if the element has an attribute with the specified name.
Author:
Werner Randelshofer
  • Constructor Details

    • ExistsMatchSelector

      public ExistsMatchSelector(@Nullable SourceLocator sourceLocator, @Nullable String namespacePattern, @NonNull String attributeName)
      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
  • Method Details