org.davic.net.dvb
Class DvbNetworkBoundLocator

java.lang.Object
  extended byorg.davic.net.Locator
      extended byorg.davic.net.dvb.DvbLocator
          extended byorg.davic.net.dvb.DvbNetworkBoundLocator
All Implemented Interfaces:
javax.tv.locator.Locator, TransportDependentLocator

public class DvbNetworkBoundLocator
extends DvbLocator
implements TransportDependentLocator

DVB Locator that is bound to a network. An object of this type identifies uniquely a given entity and the delivery system in which it is carried.

For example, a service may be carried in both satellite and terrestrial networks and the DvbLocator identifying that service may be common, but both of them will have a different DvbNetworkBoundLocator.


Constructor Summary
DvbNetworkBoundLocator(DvbLocator unboundLocator, int networkId)
          Constructor for a network bound locator
 
Method Summary
 int getNetworkId()
          Returns the network_id
 
Methods inherited from class org.davic.net.dvb.DvbLocator
getComponentTags, getEventId, getFilePath, getOriginalNetworkId, getServiceId, getTextualServiceIdentifier, getTransportStreamId
 
Methods inherited from class org.davic.net.Locator
hasMultipleTransformations, toExternalForm, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.tv.locator.Locator
equals, hashCode
 

Constructor Detail

DvbNetworkBoundLocator

public DvbNetworkBoundLocator(DvbLocator unboundLocator,
                              int networkId)
                       throws InvalidLocatorException
Constructor for a network bound locator

Parameters:
unboundLocator - an unbound DVB locator
networkId - network identifier of the network
Throws:
InvalidLocatorException - when the parameters to construct the locator wouldn't specify a valid locator (e.g. a numeric identifier out of range)
Method Detail

getNetworkId

public int getNetworkId()
Returns the network_id

Returns:
network_id