Reputation: 147
I am new to the expressions language, and I want to learn more about org.apache.commons.jxpath
utilities. But I am wondering about the implementation of the JXPath utilities. Is the object first marshaled, upon which XPath searching will be applied, or does the object keep its original state i.e. without marshaling it?
Kindly provide some good reference code snippet if possible.
Thanks.
Upvotes: 2
Views: 242
Reputation: 272307
I would perhaps check out the source code. I don't quite understand what you mean when you refer to 'marshalling'. The object won't be serialised, but I would instead expect some simple reflection to discover the object's properties.
The source for ValueUtils.java appears to have a lot of reflection code for the object's properties.
Upvotes: 1