|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
Object filter(Object obj)
obj
- the object to be filtered.
void reset()
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |