Skip to main content
5 events
when toggle format what by license comment
Apr 27, 2016 at 17:15 comment added Laiv I will add JXPath to my list of "support libs". Thank you!
Apr 27, 2016 at 16:02 comment added Brian Agnew I assume (!) it's just using reflection, like the original questioner's code, but someone has gone through the development pain in advance. I think the XPath compilation takes some time, but I seem to remember you can do a precompilation of that. To reiterate, I don't think it's a good solution for the above, but rather I've used it when I've want to be able to specify attributes in an object hierarchy that I want to extract configurably. And for unit tests occasionally.
Apr 27, 2016 at 15:21 comment added Laiv Is JXPath doing any sort of Marshalling?. If so, what do we gain doing marshalling vs reflection (via Apache Commons)? From my experience, marshalling/unmarshalling are expensive task in terms of resources (cpu, memory, ...)
Apr 27, 2016 at 13:39 history edited Brian Agnew CC BY-SA 3.0
added 375 characters in body
Apr 27, 2016 at 13:30 history answered Brian Agnew CC BY-SA 3.0