W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

Re: DOM L3 XPath question

From: Ray Whitmer <rayw@netscape.com>
Date: Tue, 06 Aug 2002 15:49:52 -0700
Message-ID: <3D505290.50509@netscape.com>
To: Vivek.Pandey@Sun.COM
CC: www-dom@w3.org

Vivek Pandey wrote:

> Hi,
> In XPathEvaluator interface, the the method evaluate has last argument 
> 'result' of type XPathResult. The spec says:
> "*result of type XPathResult*
> The /result /specifies a specific XPathResult which may be reused and 
> returned by this method. If this is specified as nullnor the 
> implementation cannot reuse the specified result, a new XPathResult 
> will be constructed and returned."
> What does term *reuse *mean in evaluate function? Does it mean that 
> evaluate method will resuse /result /parameter to refine the result 
> object or something else?

It means that the evaluate method may reuse the result parameter as the 
result object.

Ray Whitmer
Received on Tuesday, 6 August 2002 18:50:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC