org.dvb.service.navigation
Class CompatibleServiceFilter

java.lang.Object
  extended by javax.tv.service.navigation.ServiceFilter
      extended by org.dvb.service.navigation.CompatibleServiceFilter

public final class CompatibleServiceFilter
extends javax.tv.service.navigation.ServiceFilter

CompatibleServiceFilter represents a ServiceFilter based on the capabilities of the receiver. A ServiceList resulting from this filter will include only services which are compatible with this receiver.


Constructor Summary
CompatibleServiceFilter()
          Constructs the filter
 
Method Summary
 boolean accept(javax.tv.service.Service service)
          Tests if the given service passes the filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompatibleServiceFilter

public CompatibleServiceFilter()
Constructs the filter

Method Detail

accept

public boolean accept(javax.tv.service.Service service)
Tests if the given service passes the filter.

Specified by:
accept in class javax.tv.service.navigation.ServiceFilter
Parameters:
service - An individual Service to be evaluated against the filtering algorithm.
Returns:
true if service is compatible with this receiver; false otherwise