/** * Get the value of the range variable */ public Sequence<?> evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); }
/** * Evaluate the variable */ public Sequence<?> evaluateVariable(XPathContext c) { return c.evaluateLocalVariable(slotNumber); }
/** * Get the value of the variable. This method is used by the XPath execution engine * to retrieve the value. Note that the value is not held within the variable itself, * but within the dunamic context. * @param context The dynamic evaluation context * @return The value of the variable */ public ValueRepresentation evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); } }
/** * Evaluate the variable */ public ValueRepresentation evaluateVariable(XPathContext c) { return c.evaluateLocalVariable(slotNumber); }
/** * Get the value of the range variable */ public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException { return context.evaluateLocalVariable(slotNumber); }
/** * Evaluate the variable */ public Sequence<?> evaluateVariable(XPathContext c) { return c.evaluateLocalVariable(slotNumber); }
/** * Get the value of the variable. This method is used by the XPath execution engine * to retrieve the value. Note that the value is not held within the variable itself, * but within the dynamic context. * * @param context The dynamic evaluation context * @return The value of the variable */ public Sequence<?> evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); }
/** * Get the value of the variable. This method is used by the XPath execution engine * to retrieve the value. Note that the value is not held within the variable itself, * but within the dunamic context. * @param context The dynamic evaluation context * @return The value of the variable */ public ValueRepresentation evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); } }
/** * Evaluate this function parameter * * @param context the XPath dynamic context * @return the value of the parameter */ public Sequence<?> evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); }
/** * Get the value of the variable. This method is used by the XPath execution engine * to retrieve the value. Note that the value is not held within the variable itself, * but within the dynamic context. * * @param context The dynamic evaluation context * @return The value of the variable */ public Sequence<?> evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); }
/** * Evaluate this function parameter * * @param context the XPath dynamic context * @return the value of the parameter */ public Sequence<?> evaluateVariable(XPathContext context) { return context.evaluateLocalVariable(slotNumber); }
/** * Evaluate this function parameter * @param context the XPath dynamic context * @return the value of the parameter * @throws XPathException if an error occurs */ public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException { return context.evaluateLocalVariable(slotNumber); }
/** * Evaluate this function parameter * @param context the XPath dynamic context * @return the value of the parameter * @throws XPathException if an error occurs */ public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException { return context.evaluateLocalVariable(slotNumber); }
/** * Get the value of this expression in a given context. * @param c the XPathContext which contains the relevant variable bindings * @return the value of the variable, if it is defined * @throws XPathException if the variable is undefined */ public SequenceIterator iterate(XPathContext c) throws XPathException { return Value.getIterator(c.evaluateLocalVariable(slotNumber)); }
/** * Evaluate the variable */ public ValueRepresentation evaluateVariable(XPathContext c) throws XPathException { return c.evaluateLocalVariable(getSlotNumber()); } }
/** * Get the value of this expression in a given context. * @param c the XPathContext which contains the relevant variable bindings * @return the value of the variable, if it is defined * @throws XPathException if the variable is undefined */ public SequenceIterator iterate(XPathContext c) throws XPathException { return Value.getIterator(c.evaluateLocalVariable(slotNumber)); }
/** * Get the value of the range variable */ public Sequence<?> evaluateVariable(XPathContext context) throws XPathException { Sequence<?> actual = context.evaluateLocalVariable(slotNumber); if (!(actual instanceof GroundedValue || actual instanceof NodeInfo)) { actual = actual.materialize(); context.setLocalVariable(slotNumber, actual); } return actual; }
/** * Get the value of the range variable */ public Sequence<?> evaluateVariable(XPathContext context) throws XPathException { Sequence<?> actual = context.evaluateLocalVariable(slotNumber); if (!(actual instanceof GroundedValue || actual instanceof NodeInfo)) { actual = actual.materialize(); context.setLocalVariable(slotNumber, actual); } return actual; }
/** * Get the value of the range variable */ public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException { ValueRepresentation actual = context.evaluateLocalVariable(slotNumber); if (actual instanceof MemoClosure && ((MemoClosure)actual).isFullyRead()) { actual = ((MemoClosure)actual).materialize(); context.setLocalVariable(slotNumber, actual); } return actual; }
/** * Get the value of the range variable */ public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException { ValueRepresentation actual = context.evaluateLocalVariable(slotNumber); if (actual instanceof MemoClosure && ((MemoClosure)actual).isFullyRead()) { actual = ((MemoClosure)actual).materialize(); context.setLocalVariable(slotNumber, actual); } return actual; }