Packagecom.daveoncode.logging.filters
Classpublic class AbstractFilterDecorator
ImplementsIFilter
SubclassesCategoryFilter, DateFilter, LevelFilter

The base abstract class of all concrete filters. This class has a basic implementation of IFilter interface.

See also

com.daveoncode.logging.filters.IFilter


Protected Properties
 PropertyDefined by
  target : IFilter
A reference to a wrapped IFilter object
AbstractFilterDecorator
  value : Object
Value against which the filter is applied
AbstractFilterDecorator
Public Methods
 MethodDefined 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
  
apply(record:LogRecord):Boolean
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
Property detail
targetproperty
protected var target:IFilter

A reference to a wrapped IFilter object

valueproperty 
protected var value:Object

Value against which the filter is applied

Constructor detail
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)

Parameters
target:IFilterA reference to a wrapped IFilter object
 
value:ObjectValue against which the filter is applied
Method detail
apply()method
public function apply(record:LogRecord):Boolean

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

Parameters
record:LogRecordThe object to filter

Returns
Boolean — Boolean Always true