public Expression getExpression() {
   return detail.getExpression();
 }
 /**
  * This method is used to return an XPath expression that is used to represent the position of
  * this label. If there is no XPath expression associated with this then an empty path is
  * returned. This will never return a null expression.
  *
  * @return the XPath expression identifying the location
  */
 public Expression getExpression() throws Exception {
   return detail.getExpression();
 }