JavaXmlQuery compile ( XPath xpath ) { try { this . expression = xpath . compile ( getQuery ( ) ) ; } catch ( XPathExpressionException e ) { LOGGER . error ( "Cannot compile XPath query: " + getQuery ( ) , e ) ; } return this ; }
Adds a compiled expression to the query