Class Root

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

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

      Constructors 
      Constructor Description
      Root()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <N extends Node>
      NodeView<N>
      resolve​(Navigator<N> navigator, NodeView<N> view, boolean greedy)
      Evaluate this expression using given context.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Root

        public Root()
    • Method Detail

      • resolve

        public <N extends NodeNodeView<N> resolve​(Navigator<N> navigator,
                                                    NodeView<N> view,
                                                    boolean greedy)
        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
      • toString

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