Expr
, java.io.Serializable
DefaultAbsoluteLocationPath
, DefaultRelativeLocationPath
public interface LocationPath extends Expr
//foo/bar
or pre:baz[position()=last()]
.
This is production 1 in the
XPath 1.0 specification:
[1] LocationPath ::= RelativeLocationPath | AbsoluteLocationPath
Modifier and Type | Method | Description |
---|---|---|
void |
addStep(Step step) |
Add the next step to this location path.
|
java.util.List |
getSteps() |
Returns the ordered list of steps in this location path.
|
boolean |
isAbsolute() |
Returns true if this is an absolute location path; false if it isn't.
|
void addStep(Step step)
step
- java.util.List getSteps()
boolean isAbsolute()
/
or //
.Copyright © 2001–2018 Codehaus. All rights reserved.