org.dvb.service.navigation
Class DeliverySystemTypeFilter

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

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

DeliverySystemTypeFilter represents a ServiceFilter based on a particular DeliverySystemType. A ServiceList resulting from this filter will include only Service objects that can be accessed via delivery systems of the specified DeliverySystemType.


Constructor Summary
DeliverySystemTypeFilter(javax.tv.service.navigation.DeliverySystemType type)
          Constructs the filter based on a particular DeliverySystemType.
 
Method Summary
 boolean accept(javax.tv.service.Service service)
          Tests if the given service passes the filter.
 javax.tv.service.navigation.DeliverySystemType getFilterValue()
          Reports the DeliverySystemType used to create this filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliverySystemTypeFilter

public DeliverySystemTypeFilter(javax.tv.service.navigation.DeliverySystemType type)
Constructs the filter based on a particular DeliverySystemType.

Parameters:
type - A DeliverySystemType object indicating the delivery system type for the services to be included in a resulting service list.
Method Detail

getFilterValue

public javax.tv.service.navigation.DeliverySystemType getFilterValue()
Reports the DeliverySystemType used to create this filter.

Returns:
The DeliverySystemType used to create this filter.

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 can be accessed via a delivery system of the specified type; false otherwise