Package com.github.simy4.xpath.expr
Class AxisStepExpr
- java.lang.Object
-
- com.github.simy4.xpath.expr.AxisStepExpr
-
public class AxisStepExpr extends java.lang.Object implements StepExpr, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AxisStepExpr(AxisResolver axisResolver, java.util.Collection<Expr> predicates)
-
Method Summary
All Methods Instance Methods Concrete 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.java.lang.StringtoString()
-
-
-
Constructor Detail
-
AxisStepExpr
public AxisStepExpr(AxisResolver axisResolver, java.util.Collection<Expr> predicates)
-
-
Method Detail
-
resolve
public final <N extends Node> IterableNodeView<N> resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy) throws XmlBuilderException
Description copied from interface:StepExprEvaluate this expression using given context.- Specified by:
resolvein interfaceExpr- Specified by:
resolvein interfaceStepExpr- 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-