Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
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

    public 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

    public void reset()

  Resets the state of the optimizer.

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

Copyright © 2004 BEA Systems, Inc. All Rights Reserved