Class Step
java.lang.Object
org.apache.taglibs.standard.extra.spath.Step
Represents a 'step' in an SPath expression.
- Author:
- Shawn Bayern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the Step's node name.Returns a list of this Step object's predicates.booleanReturns true if the Step's depth is unlimited, false otherwise.booleanisMatchingName(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.
-
Constructor Details
-
Step
Constructs a new Step object, given a name and a (possibly null) list of predicates. A boolean is also passed, indicating whether this particular Step is relative to the 'descendent-or-self' axis of the node courrently under consideration. If true, it is; if false, then this Step is rooted as a direct child of the node under consideration.
-
-
Method Details
-
isMatchingName
Returns true if the given name matches the Step object's name, taking into account the Step object's wildcards; returns false otherwise. -
isDepthUnlimited
public boolean isDepthUnlimited()Returns true if the Step's depth is unlimited, false otherwise. -
getName
Returns the Step's node name. -
getPredicates
Returns a list of this Step object's predicates.
-