Class Put

    • Field Detail

      • expressionBaseURI

        java.lang.String expressionBaseURI
    • Constructor Detail

      • Put

        public Put()
    • Method Detail

      • copy

        public Expression copy()
        Copy an expression. This makes a deep copy.
        Overrides:
        copy in class SystemFunction
        Returns:
        the copy of the original expression
      • equals

        public boolean equals​(java.lang.Object o)
        Determine whether two expressions are equivalent
        Overrides:
        equals in class SystemFunction
      • isUpdatingExpression

        public boolean isUpdatingExpression()
        Determine whether this is an updating expression as defined in the XQuery update specification
        Overrides:
        isUpdatingExpression in class Expression
        Returns:
        true if this is an updating expression
      • evaluatePendingUpdates

        public void evaluatePendingUpdates​(XPathContext context,
                                           PendingUpdateList pul)
                                    throws XPathException
        Evaluate an updating expression, adding the results to a Pending Update List. The default implementation of this method, which is used for non-updating expressions, throws an UnsupportedOperationException
        Overrides:
        evaluatePendingUpdates in class Expression
        Parameters:
        context - the XPath dynamic evaluation context
        pul - the pending update list to which the results should be written
        Throws:
        XPathException - if evaluation fails