How would one use such an expression ? Usually, predicates use simple types such as boolean or string, not complex objects as maps. I know map is just an example, but other simple types are already handled by subtypes of the JAXPXpathExpression. Just wondering...
On Sun, May 18, 2008 at 3:27 PM, Andrew Skiba <[EMAIL PROTECTED]> wrote: > Existing JAXPXPathExpression evaluates only to strings. This subclass allows > to use XStream to evaluate a part of a message into an object of any type. > For example if a message carries XML like <message> <params> <map> <entry> > <key>key1</key> <value>value1</value> </...> and xpath=/message/params/map > then this JAXPXPathXStreamExpression evaluates it into java.util.Map > Please tell me what you think. > Andrew. > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
