commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Neves <>
Subject Re: [jxpath] Java code from JXpath expression
Date Tue, 07 Mar 2006 16:03:26 GMT
Tahir Akhtar wrote:
> Hi Luis,
> I think what you need is a compiled JXPath expression (instance of
> org.apache.commons.jxpath.CompiledExpression). 
> * To acquire a CompiledExpression, call JXPathContext.compile()

It's not that easy :-)
The org.apache.commons.jxpath.CompiledExpression is a compiled JXpath expression it's not
compiled Java code.
It's faster than parsing and compiling the expression every time but it still uses reflection
on evaluation.

Luis Neves

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message