Class AxisStepExpr

  • All Implemented Interfaces:
    Expr, StepExpr, java.io.Serializable

    public class AxisStepExpr
    extends java.lang.Object
    implements StepExpr, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • AxisStepExpr

        public AxisStepExpr​(AxisResolver axisResolver,
                            java.util.Collection<Expr> predicates)
    • Method Detail

      • resolve

        public final <N extends NodeIterableNodeView<N> resolve​(Navigator<N> navigator,
                                                                  NodeView<N> view,
                                                                  boolean greedy)
                                                           throws XmlBuilderException
        Description copied from interface: StepExpr
        Evaluate this expression using given context.
        Specified by:
        resolve in interface Expr
        Specified by:
        resolve in interface StepExpr
        Type Parameters:
        N - XML model type
        Parameters:
        navigator - XML navigator
        view - XML node view
        greedy - 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:
        toString in class java.lang.Object