|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.xal.smf.impl.qualify.OrTypeQualifier
OrTypeQualifier is a compound qualifier that tests whether any of its qualifiers matches the accelerator node. If any one of its root qualifiers returns true for matching a node, then this compound match operation will return true, otherwise it will not match the node.
| Constructor Summary | |
OrTypeQualifier()
Creates new OrTypeQualifier |
|
| Method Summary | |
boolean |
match(AcceleratorNode node)
Determine if the specified node is a match based on this qualifier's criteria. |
OrTypeQualifier |
or(java.lang.String kind)
Add a "kind" qualifier to the set of root qualifiers. |
OrTypeQualifier |
or(TypeQualifier qualifier)
Add a qualifier to the set of root qualifiers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OrTypeQualifier()
| Method Detail |
public OrTypeQualifier or(java.lang.String kind)
kind - The node type of the new root qualifier
public OrTypeQualifier or(TypeQualifier qualifier)
qualifier - A qualifier to "or" with the existing root qualifiers.
public boolean match(AcceleratorNode node)
match in interface TypeQualifiernode - The node to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||