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

## com.bea.p13n.common
Interface ObjectFilter

All Known Implementing Classes:
  RuleResultClassFilter

public interface ObjectFilter

This interface is used to filter objects. The caller passes an implementing class to a method and receives callbacks that allow the caller to filter the output objects as desired. Filters can either build up state within themselves or can merely block or pass objects based on a filtering algorithm.

Method Summary
`Object` | `filter(Object obj)` The main filtering method on the interface.
`void` | `reset()` Stateful filters should implement this interface to allow them to be reset to an intial state.

Method Detail

### filter

    public Object filter(Object obj)

  The main filtering method on the interface.

  Parameters:
    `obj` - the object to be filtered.
  Returns:
    the result of the filtering or `null`.

### reset

    public void reset()

  Stateful filters should implement this interface to allow them to be reset to an intial state.

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

Copyright © 2005 BEA Systems, Inc. All Rights Reserved