PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

Java Classes

   







AndFilter

— a conjunction of attribute filter expressions


AndFilter objects facilitate notification filtering by conjunctive expressions.

Hierarchy

java.lang.Object

--> com.precache.event. Filter

      --> com.precache.event. CompoundFilter

            --> com.precache.event.AndFilter

Constructors

AndFilter by ChannelInfo

public AndFilter( ChannelInfo c)

Constructs an AndFilter object and associates it with a ChannelInfo object, providing access to a channel's attributes and validation against the associated channel's configuration.

c  —
the ChannelInfo object to be associated with the AndFilter

AndFilter by Proxy

public AndFilter( Proxy p)

Constructs an AndFilter object and associates it with a Proxy object, providing access to a channel's attributes and validation against the associated channel's configuration.

p —
the proxy to be associated with the AndFilter

Methods

AndFilter inherits add, getFilters, remove, reset, and toString from class com.precache.event. CompoundFilter.

AndFilter inherits clone, equals, getClass, hashCode, notify, notifyAll, and wait from class java.lang.Object.

finalize

public void finalize()

Frees up resources associated with this object.

overrides —
finalize in class Object

match

public boolean match( Notification n)

Verifies whether a notification type matches the AndFilter object.

n —
the notification to be matched

returns —
true, if the notification matches; otherwise false

overrides —
match in class Filter

clone

public Filter clone()

Constructs a clone of the AndFilter object.

overrides —
clone in class Filter

returns —
the cloned AndFilter