PreCache NetInjector Documentation Center : PreCache NetInjector API Reference

Java Classes

   







FilterFactory

— generate filters from expressions


The FilterFactory is a singleton class that generates Filter objects from string attribute filter expressions.

Hierarchy

java.lang.Object

--> com.precache.event.FilterFactory

Methods

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

finalize

public void finalize()

Frees up resources associated with this object

overrides —
finalize in class Object

createFilter

public Filter createFilter(String strFilterExp)

Creates a Filter object from a string attribute filter expression and associates the object with a Proxy.

strFilterExp —
the attribute filter expression to be parsed

returns —
the new Filter object

throws —
createFilter throws an InvalidFilterException if there are syntactic or semantic errors in strFilterExp.