Class PathExpr

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

    public class PathExpr
    extends java.lang.Object
    implements Expr, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PathExpr​(java.util.List<StepExpr> pathExpr)  
    • Constructor Detail

      • PathExpr

        public PathExpr​(java.util.List<StepExpr> pathExpr)
    • Method Detail

      • resolve

        public <N extends NodeIterableNodeView<N> resolve​(Navigator<N> navigator,
                                                            NodeView<N> view,
                                                            boolean greedy)
                                                     throws XmlBuilderException
        Description copied from interface: Expr
        Evaluate this expression using given context.
        Specified by:
        resolve in interface Expr
        Type Parameters:
        N - XML model type
        Parameters:
        navigator - XML navigator
        view - XML node view
        greedy - whether resolution is greedy
        Returns:
        evaluated XML view
        Throws:
        XmlBuilderException - if error occur during XML model modification
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object