Class PathReference


  • public abstract class PathReference
    extends Reference
    Wrapper class for the cts:path-reference function. This class represents a reference to a path value lexicon (path range index).
    • Constructor Detail

      • PathReference

        public PathReference()
    • Method Detail

      • getPathExpression

        public abstract String getPathExpression()
        Get the path range expression represented by this lexicon.

        This path expression must correspond to the path expression used to create an existing path range index.

        Returns:
        A path range expression.
      • getUserDefinedOptions

        public String[] getUserDefinedOptions()
        Get user-defined options for the path reference.

        This method corresponds to the $options parameter of the path reference function. Override this method to pass options to the path reference function. For a list of available options, see cts:path-reference in the XQuery and XSLT Reference.