Personally, I like evaluate() better. Reasoning: you 'evaluate' an expression, you don't 'select' an expression. select() seems to have too strong an SQL flavor. Maybe that's the intention. Either way, it's probably personal preference that differentiates these two the most.
-Mark ----- Original Message ----- From: "James Strachan" <[EMAIL PROTECTED]> To: "bob mcwhirter" <[EMAIL PROTECTED]>; "Mark A. Belonga" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 07, 2001 2:56 AM Subject: Re: [Jaxen] Naming... > How about "select()" as the method name? > > James > ----- Original Message ----- > From: "bob mcwhirter" <[EMAIL PROTECTED]> > To: "Mark A. Belonga" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, November 06, 2001 9:19 PM > Subject: Re: [Jaxen] Naming... > > > > On Tue, 6 Nov 2001, Mark A. Belonga wrote: > > > > > Sounds reasonable to me -- return an Object which would be a List in the > > > event of a location-path expression. > > > > > > What if only one value is returned from the location-path expression? Is > > > that "unwrapped" or left as a List with one element? > > > > I think we'd leave it as the List. The return-type would be directly > > based on the return-type for that type of expression. No manipulation > > based upon the actual returned results. Location-paths return node-sets, > > which can certainly contain 1 (or even 0) nodes. > > > > -bob > > > > > > _______________________________________________ > > Jaxen-interest mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jaxen-interest > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jaxen-interest _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest