Class NotTypeQualifier

java.lang.Object
xal.smf.impl.qualify.NotTypeQualifier
All Implemented Interfaces:
TypeQualifier

public class NotTypeQualifier extends Object implements TypeQualifier
NotTypeQualifier tests whether its root qualifier does not match the accelerator node. The NotTypeQualifier is constructed by specifying a root qualifier and its matching criteria yields the opposite result of its root qualifier.
Author:
tap
  • Constructor Details

    • NotTypeQualifier

      public NotTypeQualifier(String kind)
      Creates new NotTypeQualifier off of a node type
      Parameters:
      kind - The node type used to define the root qualifier
    • NotTypeQualifier

      public NotTypeQualifier(TypeQualifier qualifier)
      Creates new NotTypeQualifier off of an existing qualifier
      Parameters:
      qualifier - The root qualifier
  • Method Details

    • match

      public boolean match(AcceleratorNode node)
      Determine if the specified node is a match based on this qualifier's criteria
      Specified by:
      match in interface TypeQualifier
      Parameters:
      node - The node to test
      Returns:
      true if the node is a match and false if not