/** Retrieve the Jaxen XPath expression tree, optionally * simplified. * * <p> * This method is only valid once <code>XPathReader.parse(...)</code> * successfully returned. * </p> * * @param shouldSimplify ???? * * @return the XPath expression tree */ public XPathExpr getXPathExpr(boolean shouldSimplify) { if ( shouldSimplify && ! this.simplified ) { this.xpath.simplify(); this.simplified = true; } return this.xpath; }