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? -Mark ----- Original Message ----- From: "bob mcwhirter" <[EMAIL PROTECTED]> To: "Mark A. Belonga" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 06, 2001 3:05 PM Subject: Re: [Jaxen] Naming... > > I'm all for evaluate(). What does it return? An Object or a List? > > First guess, the return type would be 'Object', but that certainly > might be a List that gets returned, depending on the expression. > > So, a location-path expression would return a List, while arithmetic > of boolean expressions would return a single Integer, Double, or > Boolean object. > > Eh? > > -bob > > > _______________________________________________ > 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