|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.tv.service.navigation.ServiceFilter
This class represents a set filtering criteria used to generate a
ServiceList
. ServiceFilter
is extended
to create concrete filters based on various criteria. Applications
may also extend this class to define custom filters, although
custom filters may not be supported on certain filtering
operations.
ServiceList
Constructor Summary | |
protected |
ServiceFilter()
Constructs the filter. |
Method Summary | |
abstract boolean |
accept(Service service)
Tests if a particular service passes this filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ServiceFilter()
Method Detail |
public abstract boolean accept(Service service)
ServiceFilter
override this method to
provide the logic for a filtering operation on individual
Service
objects.
service
- A Service
to be evaluated
against the filtering algorithm.
true
if service
satisfies the
filtering algorithm; false
otherwise.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |