Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service
Class ServiceType

java.lang.Object
  extended byjavax.tv.service.ServiceType

public class ServiceType
extends java.lang.Object

This class represents service type values such as "digital television", "digital radio", "NVOD reference service", "NVOD time-shifted service", "analog television", "analog radio", "data broadcast" and "application". These basic service types can be extended by subclassing.

(These values are mappable to the ATSC service type in the VCT table and the DVB service type in the Service Descriptor.)


Field Summary
static ServiceType ANALOG_RADIO
          Analog radio service type.
static ServiceType ANALOG_TV
          Analog TV service type.
static ServiceType DATA_APPLICATION
          Data application service type identifying an interactive application.
static ServiceType DATA_BROADCAST
          Data broadcast service type identifying a data service.
static ServiceType DIGITAL_RADIO
          Digital radio service type.
static ServiceType DIGITAL_TV
          Digital TV service type.
static ServiceType NVOD_REFERENCE
          NVOD reference service type.
static ServiceType NVOD_TIME_SHIFTED
          NVOD time-shifted service type.
static ServiceType UNKNOWN
          Unknown service type.
 
Constructor Summary
protected ServiceType(java.lang.String name)
          Creates a service type object.
 
Method Summary
 java.lang.String toString()
          Provides the string name of the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIGITAL_TV

public static final ServiceType DIGITAL_TV
Digital TV service type.


DIGITAL_RADIO

public static final ServiceType DIGITAL_RADIO
Digital radio service type.


NVOD_REFERENCE

public static final ServiceType NVOD_REFERENCE
NVOD reference service type.


NVOD_TIME_SHIFTED

public static final ServiceType NVOD_TIME_SHIFTED
NVOD time-shifted service type.


ANALOG_TV

public static final ServiceType ANALOG_TV
Analog TV service type.


ANALOG_RADIO

public static final ServiceType ANALOG_RADIO
Analog radio service type.


DATA_BROADCAST

public static final ServiceType DATA_BROADCAST
Data broadcast service type identifying a data service.


DATA_APPLICATION

public static final ServiceType DATA_APPLICATION
Data application service type identifying an interactive application.


UNKNOWN

public static final ServiceType UNKNOWN
Unknown service type.

Constructor Detail

ServiceType

protected ServiceType(java.lang.String name)
Creates a service type object.

Parameters:
name - The string name of this type (e.g., "DIGITAL_TV").
Method Detail

toString

public java.lang.String toString()
Provides the string name of the type. For the type objects defined in this class, the string name will be identical to the class variable name.

Returns:
The string name of the type.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.