public class NodeTypePredicate extends DepthPredicate
Constructor and Description |
---|
NodeTypePredicate(java.lang.String nodeType,
boolean respectSupertype)
Creates a new node type filter.
|
NodeTypePredicate(java.lang.String nodeType,
boolean respectSupertype,
int minDepth,
int maxDepth)
Creates a new node type filter.
|
evaluate
public NodeTypePredicate(java.lang.String nodeType, boolean respectSupertype, int minDepth, int maxDepth)
nodeType
- the node type to filter onrespectSupertype
- indicates if supertype should be respectedminDepth
- the minimal depthmaxDepth
- the maximal depthpublic NodeTypePredicate(java.lang.String nodeType, boolean respectSupertype)
nodeType
- the node type to filter onrespectSupertype
- indicates if supertype should be respectedCopyright © 2010 - 2020 Adobe. All Rights Reserved