org.dvb.application
Class CurrentServiceFilter

java.lang.Object
  extended byorg.dvb.application.AppsDatabaseFilter
      extended byorg.dvb.application.CurrentServiceFilter

public class CurrentServiceFilter
extends AppsDatabaseFilter

Instances of CurrentServiceFilter are used to set a filter on the list of applications that are retrieved from the AppsDatabase (See methods getAppsAttributes and getAppsIDs).

A CurrentServiceFilter is used to indicate that only applications that signalled as part of the current service shall be returned by the getAppsAttributes and getAppIDs methods of AppsDatabase. Externally authorized applications in the AIT are not considered to be signalled as part of the current service for this filter. Subclasses of CurrentServiceFilter can override the accept method so as to implement their own filter criteria on the AppIDs values.

Since:
MHP 1.0

Constructor Summary
CurrentServiceFilter()
          public Constructor of the CurrentServiceFilter
 
Method Summary
 boolean accept(AppID appid)
          Test if a specified appid should be included in the Enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentServiceFilter

public CurrentServiceFilter()
public Constructor of the CurrentServiceFilter

Method Detail

accept

public boolean accept(AppID appid)
Test if a specified appid should be included in the Enumeration.

Specified by:
accept in class AppsDatabaseFilter
Parameters:
appid - the specified appid to test.
Returns:
true if the application with identifier appid should be listed, false otherwise.
Since:
MHP1.0