Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.p13n.expression
Interface Optimizer

    public interface Optimizer

The `Optimizer` interface is implemented by the class that can optimize an `Expression`.

Method Summary
`void` | `optimize(Expression expression)` Performs an optimization on the supplied expression.
`void` | `reset()` Resets the state of the optimizer.

Method Detail

### optimize

    void optimize(Expression expression)
                  throws ExpressionException

  Performs an optimization on the supplied expression. The expression is modified (rewritten) in place.

  Parameters
    `expression` - the expression to be optimized.
  Throws
    `ExpressionException` - if an error occurs during optimization of the supplied expression.

### reset

    void reset()

  Resets the state of the optimizer.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved