commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From P.Chau...@pilz.ie
Subject JXPath 1.2 - get objects by class
Date Mon, 16 Jul 2007 14:42:02 GMT
Hi,

Just wondering if it is possible to retrieve all objects of a specific 
class from an object tree including if they are contained somewhere in the 
list.
 
Will this work

Iterator iterator = context.iterate("//com.mycompany.MyObject.new()");

Thanks.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message