commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Neves <lne...@netcabo.pt>
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.


Regards,
Luis Neves





---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message