Package com.github.simy4.xpath.expr
Interface StepExpr
-
- All Superinterfaces:
Expr
- All Known Implementing Classes:
AxisStepExpr
,Root
public interface StepExpr extends Expr
XPath step expression model.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <N extends Node>
IterableNodeView<N>resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy)
Evaluate this expression using given context.
-
-
-
Method Detail
-
resolve
<N extends Node> IterableNodeView<N> resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy) throws XmlBuilderException
Evaluate this expression using given context.- Specified by:
resolve
in interfaceExpr
- Type Parameters:
N
- XML model type- Parameters:
navigator
- XML navigatorview
- XML node viewgreedy
- whether resolution is greedy- Returns:
- evaluated XML node views
- Throws:
XmlBuilderException
- if error occur during XML model modification
-
-