PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

Java Classes

   







OrFilter

— a disjunction of attribute filter expressions


OrFilter objects facilitate notification filtering by disjunctive expressions.

Hierarchy

java.lang.Object

--> com.precache.event. Filter

      --> com.precache.event. CompoundFilter

            --> com.precache.event.OrFilter

Constructors

OrFilter by ChannelInfo

public OrFilter( ChannelInfo c)

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

c  —
the ChannelInfo object to be associated with the OrFilter

OrFilter by Proxy

public OrFilter( Proxy p)

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

p —
the proxy to be associated with the OrFilter

Methods

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

OrFilter 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 OrFilter 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 OrFilter object.

overrides —
clone in class Filter