public class Step extends Object
Represents a 'step' in an SPath expression.
Constructor and Description |
---|
Step(boolean depthUnlimited,
String name,
List predicates)
Constructs a new Step object, given a name and a (possibly null)
list of predicates.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the Step's node name.
|
List |
getPredicates()
Returns a list of this Step object's predicates.
|
boolean |
isDepthUnlimited()
Returns true if the Step's depth is unlimited, false otherwise.
|
boolean |
isMatchingName(String uri,
String localPart)
Returns true if the given name matches the Step object's
name, taking into account the Step object's wildcards; returns
false otherwise.
|
public Step(boolean depthUnlimited, String name, List predicates)
public boolean isMatchingName(String uri, String localPart)
public boolean isDepthUnlimited()
public String getName()
public List getPredicates()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.