org.exolab.adaptx.xpath.functions

Class LastFunctionCall

public class LastFunctionCall extends FunctionCallImpl

A class that represents the XPath last() function call

Version: $Revision: 3736 $ $Date: 2003-05-13 03:57:04 -0400 (Tue, 13 May 2003) $

Author: Keith Visco

Constructor Summary
LastFunctionCall()
Creates a new LastFunctionCall
Method Summary
XPathResultevaluate(XPathContext context)
Evaluates the expression and returns the XPath result.

Constructor Detail

LastFunctionCall

public LastFunctionCall()
Creates a new LastFunctionCall

Method Detail

evaluate

public XPathResult evaluate(XPathContext context)
Evaluates the expression and returns the XPath result.

Parameters: context The XPathContext to use during evaluation.

Returns: The XPathResult (not null).

Throws: XPathException if an error occured while evaluating this expression.