Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. 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 © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.