Interface XPathPatterns.Operation

All Known Subinterfaces:
XPathPatterns.Test
All Known Implementing Classes:
XPathPatterns.Axis, XPathPatterns.Path
Enclosing class:
XPathPatterns
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface XPathPatterns.Operation
Common interface for XPath navigation operations that can be implemented as motifs.

Objects implementing this interface serve as operational bulding blocks for the evaluation of XPath location paths.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Motif<? extends Node,Node>
    Returns the motif associated with this navigation operation.
  • Method Details

    • getMotif

      Motif<? extends Node,Node> getMotif()
      Returns the motif associated with this navigation operation.
      Returns:
      a motif that matches the hole against navigation targets from the given context object.