commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kovgan, Peter" <peter.kov...@sap.com>
Subject Jxpath get object's type by path
Date Mon, 01 Jan 2007 15:40:06 GMT


Hi!
How can I  retrieve type information using jxpath? 

I need to determine type of element that resides in specified location.


Something like :

String addressType = <some>.getTypeByPath("/employee/address");

,so

System.out.println(addressType);


prints full qualified class name: com.myapp.Address





Thanks a lot!

Peter Kovgan


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