/** * Constructor for the <code>ExpressionBuilder</code>. This is * used to create a builder to cache frequently requested XPath * expressions. Such caching improves the overall performance. * * @param detail the details for the the class with expressions * @param support this contains various support functions */ public ExpressionBuilder(Detail detail, Support support) { this.cache = new LimitedCache<Expression>(); this.format = support.getFormat(); this.type = detail.getType(); }