|
JSR-927 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.tv.service.navigation.ServiceFilter
javax.tv.service.navigation.ServiceTypeFilter
ServiceTypeFilter represents a
ServiceFilter based on a particular
ServiceType. A ServiceList resulting
from this filter will include only Service objects of
the specified service type.
ServiceType,
ServiceList| Constructor Summary | |
ServiceTypeFilter(ServiceType type)
Constructs the filter based on a particular ServiceType. |
|
| Method Summary | |
boolean |
accept(Service service)
Tests if the given service passes the filter. |
ServiceType |
getFilterValue()
Reports the ServiceType used to create this filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceTypeFilter(ServiceType type)
ServiceType.
type - A ServiceType object indicating the type
of services to be included in a resulting service list.| Method Detail |
public ServiceType getFilterValue()
ServiceType used to create this filter.
ServiceType used to create this filter.public boolean accept(Service service)
accept in class ServiceFilterservice - An individual Service to be evaluated
against the filtering algorithm.
true if service is of the type
indicated by the filter value; false otherwise.
|
JSR-927 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||