Package xal.smf.impl.qualify
Class NotTypeQualifier
java.lang.Object
xal.smf.impl.qualify.NotTypeQualifier
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionNotTypeQualifier
(String kind) Creates new NotTypeQualifier off of a node typeNotTypeQualifier
(TypeQualifier qualifier) Creates new NotTypeQualifier off of an existing qualifier -
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(AcceleratorNode node) Determine if the specified node is a match based on this qualifier's criteria
-
Constructor Details
-
NotTypeQualifier
Creates new NotTypeQualifier off of a node type- Parameters:
kind
- The node type used to define the root qualifier
-
NotTypeQualifier
Creates new NotTypeQualifier off of an existing qualifier- Parameters:
qualifier
- The root qualifier
-
-
Method Details
-
match
Determine if the specified node is a match based on this qualifier's criteria- Specified by:
match
in interfaceTypeQualifier
- Parameters:
node
- The node to test- Returns:
- true if the node is a match and false if not
-