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