Class Idref

    • Constructor Detail

      • Idref

        public Idref()
    • Method Detail

      • getSpecialProperties

        public int getSpecialProperties​(Expression[] arguments)
        Get the static properties of this expression (other than its type). The result is bit-significant. These properties are used for optimizations. In general, if property bit is set, it is true, but if it is unset, the value is unknown.
        getSpecialProperties in class SystemFunction
        arguments - the actual arguments to the function call
      • getIdrefMultiple

        public static SequenceIterator getIdrefMultiple​(TreeInfo doc,
                                                        SequenceIterator keys,
                                                        XPathContext context)
                                                 throws XPathException
        Get the result when multiple idref values are supplied. Note this is also called from compiled XQuery code.
        doc - the document to be searched
        keys - the idref values supplied
        context - the dynamic execution context
        iterator over the result of the function
        XPathException - if a dynamic error occurs
      • call

        public ZeroOrMore<NodeInfo> call​(XPathContext context,
                                         Sequence[] arguments)
                                  throws XPathException
        Evaluate the expression
        context - the dynamic evaluation context
        arguments - the values of the arguments, supplied as SequenceIterators
        the result of the evaluation, in the form of a SequenceIterator
        XPathException - if a dynamic error occurs during the evaluation of the expression