net.sf.saxon.functions

Class Put

public class Put extends SystemFunction

Implements the fn:put() function in XQuery Update 1.0.
Field Summary
StringexpressionBaseURI
Method Summary
voidcheckArguments(ExpressionVisitor visitor)
Expressioncopy()
Copy an expression.
voidevaluatePendingUpdates(XPathContext context, PendingUpdateList pul)
Evaluate an updating expression, adding the results to a Pending Update List.
booleanisUpdatingExpression()
Determine whether this is an updating expression as defined in the XQuery update specification

Field Detail

expressionBaseURI

String expressionBaseURI

Method Detail

checkArguments

public void checkArguments(ExpressionVisitor visitor)

copy

public Expression copy()
Copy an expression. This makes a deep copy.

Returns: the copy of the original expression

evaluatePendingUpdates

public void evaluatePendingUpdates(XPathContext context, PendingUpdateList pul)
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

Parameters: context the XPath dynamic evaluation context pul the pending update list to which the results should be written

isUpdatingExpression

public boolean isUpdatingExpression()
Determine whether this is an updating expression as defined in the XQuery update specification

Returns: true if this is an updating expression