Class dnx.lr.ClassSearchTraversal
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.ClassSearchTraversal
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.util.DNXInstancedObject
|
+----dnx.lr.Action
|
+----dnx.lr.Traversal
|
+----dnx.lr.NodeTraversal
|
+----dnx.lr.NodeReturningTraversal
|
+----dnx.lr.NodeSearchTraversal
|
+----dnx.lr.ClassSearchTraversal
- public class ClassSearchTraversal
- extends NodeSearchTraversal
A ClassSearchTraversal looks for and returns nodes of a particular class.
-
allowSubclassMatches
-
-
ClassSearchTraversal(Class)
- Create a traversal, specifying the class that is looked for.
-
ClassSearchTraversal(Class, int)
- Create a traversal, specifying the class that is looked for
and the context interest.
-
getAllowSubclassMatches()
-
-
getTarget()
-
-
isMatch(Node)
- Don't call this yourself.
-
setAllowSubclassMatches(boolean)
-
-
setTarget(Class)
-
-
setTarget(String)
-
allowSubclassMatches
protected boolean allowSubclassMatches
ClassSearchTraversal
public ClassSearchTraversal(Class cl)
- Create a traversal, specifying the class that is looked for.
The context interest is NORMAL_NODES.
ClassSearchTraversal
public ClassSearchTraversal(Class cl,
int contextInterest)
- Create a traversal, specifying the class that is looked for
and the context interest.
setAllowSubclassMatches
public void setAllowSubclassMatches(boolean allow)
getAllowSubclassMatches
public boolean getAllowSubclassMatches()
setTarget
public void setTarget(Class cl)
setTarget
public void setTarget(String nodeTypeName)
getTarget
public Class getTarget()
isMatch
public boolean isMatch(Node node)
- Don't call this yourself.
- Overrides:
- isMatch in class NodeSearchTraversal
All Packages Class Hierarchy This Package Previous Next Index