|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.tvanytime.metadata.DatabaseScope
public class DatabaseScope
Class representing the desired scope of a metadata database. In DVB systems the scope of a metadata service is defined by the locations in which a Metadata Pointer Descriptor can be found. Optionally, it is possible to restrict the scope to a specific set of fragment types.
Field Summary | |
---|---|
static int |
BOUQUET_ID
The value of contextIdType when the contextId is a bouquet_id. |
static int |
NETWORK_ID
The value of contextIdType when the contextId is a network_id. |
static int |
ORIG_NET_ID
The value of contextIdType when the contextId is an original_network_id. |
Constructor Summary | |
---|---|
DatabaseScope(CRID crid)
Create a DatabaseScope that encompasses a specified CRID authority. |
|
DatabaseScope(org.davic.net.dvb.DvbLocator service)
Create a DatabaseScope that encompasses a specified DVB service. |
|
DatabaseScope(int contextId,
int contextIdType)
Create a DatabaseScope that encompasses a specified contextId and contextIdType. |
|
DatabaseScope(java.lang.String resolutionProvider)
Create a DatabaseScope that encompasses a specified resolution provider. |
Method Summary | |
---|---|
int[] |
getFragmentTypes()
Get the required fragment types of this DatabaseScope. |
void |
setFragmentTypes(int[] fragmentTypes)
Set the required fragment types. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BOUQUET_ID
public static final int ORIG_NET_ID
public static final int NETWORK_ID
Constructor Detail |
---|
public DatabaseScope(CRID crid)
crid
- the authority field is taken from the supplied CRIDpublic DatabaseScope(java.lang.String resolutionProvider)
resolutionProvider
- the name of the resolutionProviderpublic DatabaseScope(org.davic.net.dvb.DvbLocator service)
service
- a DVB locator that identifies the DVB servicepublic DatabaseScope(int contextId, int contextIdType)
contextId
- the contextIdcontextIdType
- a value selected from NETWORK_ID
, ORIG_NET_ID
and BOUQUET_ID
.Method Detail |
---|
public void setFragmentTypes(int[] fragmentTypes)
fragment_type
values that may be carried in a Metadata Pointer Descriptor. If none of
the required values are present, or if this list is not available (i.e. the fragment_types_flag
of the descriptor is set to '0') then a DVBDatabase will be considered to be out of scope.
fragmentTypes
- an array of fragment_type
values, as specified in ETSI TS 102 323.public int[] getFragmentTypes()
fragment_type
values, as specified in ETSI TS 102 323.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |