| Package | com.daveoncode.logging.filters |
| Class | public class AbstractFilterDecorator |
| Implements | IFilter |
| Subclasses | CategoryFilter, DateFilter, LevelFilter |
See also
| Property | Defined by | ||
|---|---|---|---|
| target : IFilter
A reference to a wrapped IFilter object
| AbstractFilterDecorator | ||
| value : Object
Value against which the filter is applied
| AbstractFilterDecorator | ||
| Method | Defined by | ||
|---|---|---|---|
|
AbstractFilterDecorator(target:IFilter, value:Object)
Constructor function of AbstractFilterDecorator class.
Since this class is abstract this constructor MUST be called only by subclasses of AbstractFilterDecorator (concrete filters decorators) | AbstractFilterDecorator | ||
|
Basic implementation of IFilter interface the value returned is always true and only apply()
methods implemented by subclasses of AbstractFilter have real buisiness logic implementation
| AbstractFilterDecorator | ||
| target | property |
protected var target:IFilterA reference to a wrapped IFilter object
| value | property |
protected var value:ObjectValue against which the filter is applied
| AbstractFilterDecorator | () | constructor |
public function AbstractFilterDecorator(target:IFilter, value:Object)
Constructor function of AbstractFilterDecorator class.
Since this class is abstract this constructor MUST be called only by subclasses of AbstractFilterDecorator
(concrete filters decorators)
target:IFilter — A reference to a wrapped IFilter object
|
|
value:Object — Value against which the filter is applied
|
| apply | () | method |
public function apply(record:LogRecord):BooleanBasic implementation of IFilter interface the value returned is always true and only apply() methods implemented by subclasses of AbstractFilter have real buisiness logic implementation
Parametersrecord:LogRecord — The object to filter
|
Boolean — Boolean Always true
|