com.sun.jaw.reference.agent.services
Interface FilterSrvIf

All Known Implementing Classes:
FilterSrv

public abstract interface FilterSrvIf
extends java.io.Serializable

This interface provides access to a filtering service.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 boolean eval(QueryExp query, java.lang.Object object)
          Assesses a filter on a specific object.
 

Method Detail

eval

public boolean eval(QueryExp query,
                    java.lang.Object object)
Assesses a filter on a specific object. If the service cannot assess the filter, the filter should simply be assessed as being false.
Parameters:
query - The query to be assessed.
object - The object to be assessed.
Returns:
True or false depending on the result of the evaluation.