PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

Java Classes

   







SimpleFilter

— filters for testing expressions


A SimpleFilter object stores an attribute filter expression based on attribute, name, operator, and operand. SimpleFilter performs a simple expression test and returns a Boolean containing the value of an attribute.

Hierarchy

java.lang.Object

--> com.precache.event. Filter

      --> com.precache.event.SimpleFilter

Methods

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

toString

public string toString()

Converts the filtered object to a string representation.

overrides —
toString in class Object

returns —
the string expression for this 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 matches the SimpleFilter object.

n —
the notification to be matched

returns —
true, if the notification matches; otherwise false

overrides —
match in class Filter

clone

public SimpleFilter clone()

Constructs a clone of the SimpleFilter object.

overrides —
clone in class Filter