Package com.github.simy4.xpath.expr
Interface Expr
-
- All Known Subinterfaces:
StepExpr
- All Known Implementing Classes:
AdditionExpr,AxisStepExpr,EqualsExpr,GreaterThanExpr,GreaterThanOrEqualsExpr,LessThanExpr,LessThanOrEqualsExpr,LiteralExpr,MultiplicationExpr,NotEqualsExpr,NumberExpr,PathExpr,PredicateExpr,Root,SubtractionExpr,UnaryExpr
public interface ExprXPath expression model. Every XPath expression is also a XPath predicate.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <N extends Node>
View<N>resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy)Evaluate this expression using given context.
-
-
-
Method Detail
-
resolve
<N extends Node> View<N> resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy) throws XmlBuilderException
Evaluate this expression using given context.- Type Parameters:
N- XML model type- Parameters:
navigator- XML navigatorview- XML node viewgreedy- whether resolution is greedy- Returns:
- evaluated XML view
- Throws:
XmlBuilderException- if error occur during XML model modification
-
-