1. package org.apache.xpath;
  2. /**
  3. * Classes that implement this interface own an expression, which
  4. * can be rewritten.
  5. */
  6. public interface ExpressionOwner
  7. {
  8. /**
  9. * Get the raw Expression object that this class wraps.
  10. *
  11. * @return the raw Expression object, which should not normally be null.
  12. */
  13. public Expression getExpression();
  14. /**
  15. * Set the raw expression object for this object.
  16. *
  17. * @param exp the raw Expression object, which should not normally be null.
  18. */
  19. public void setExpression(Expression exp);
  20. }