|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.contentReferencing.ContentReferencingTable
public class ContentReferencingTable
ContentReferencingTable: Represents a table that contains ContentReferencing objects.
Constructor Summary | |
---|---|
ContentReferencingTable()
Constructor for objects of type ContentReferencingTable. |
|
ContentReferencingTable(float version)
Constructor for objects of type ContentReferencingTable with required version attribute. |
Method Summary | |
---|---|
void |
addResult(Result result)
Add a Result object. |
java.lang.Object |
clone()
Clones itself. |
int |
getNumResults()
Get the number of Result objects. |
Result |
getResult(int index)
Get a Result object. |
java.util.Vector |
getSchedule(java.util.Date startTime,
java.util.Date endTime)
Returns vector of CRIDs for all events that start at a time between the start time and the end time. |
java.util.Vector |
getSchedule(java.util.Date startTime,
java.util.Date endTime,
java.lang.String serviceID)
Unsupported method - always throws exception. |
float |
getVersion()
Get version |
void |
removeAll()
Remove all objects from the ContentReferencing table. |
void |
removeResult(int index)
Removes a Result object from this ContentReferencingTable |
void |
removeResult(Result result)
Removes a Result object from this ContentReferencingTable |
Result |
resolveCRID(ContentReference crid)
Returns Result object for this CRID. |
java.util.Vector |
resolveLeafCRID(ContentReference crid)
Unsupported method - always throws exception. |
java.util.Vector |
resolveLeafCRID(ContentReference crid,
java.lang.String serviceID)
Unsupported method - always throws exception. |
void |
setVersion(float version)
Set version |
java.lang.String |
toString()
Returns string representation of this table. |
java.lang.String |
toString(int indent)
Returns string representation of this table. |
java.lang.String |
toXML()
Returns XML representation of this table. |
java.lang.String |
toXML(int indent)
Returns XML representation of this table. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentReferencingTable()
public ContentReferencingTable(float version)
Version
- number.Method Detail |
---|
public void addResult(Result result)
The
- Result object to add to this table.public Result getResult(int index)
index
- The index of the Result object to access.
public void removeResult(int index)
index
- The index to the Result objectpublic void removeResult(Result result)
result
- The Result object to removepublic void removeAll()
public int getNumResults()
public void setVersion(float version)
version
- the table version numberpublic float getVersion()
public java.util.Vector resolveLeafCRID(ContentReference crid) throws SearchInterfaceNotSupportedException
resolveLeafCRID
in interface LocationResolution
crid
- the CRID to search for.
SearchInterfaceNotSupportedException
- If the implementation doesn't support this function.public java.util.Vector resolveLeafCRID(ContentReference crid, java.lang.String serviceID) throws SearchInterfaceNotSupportedException
resolveLeafCRID
in interface LocationResolution
crid
- the CRID to search for.serviceID
- The serviceID of the service we are interested in.
SearchInterfaceNotSupportedException
- If the implementation doesn't support this function.public Result resolveCRID(ContentReference crid)
crid
- CRID to search for.
public java.util.Vector getSchedule(java.util.Date startTime, java.util.Date endTime)
The search is carried out by examining the start time and duration found in the dvb locator, so will fail if DVB locator isn't present.
getSchedule
in interface LocationResolution
startTime
- Start time of schedule.endTime
- End time of schedule.
public java.util.Vector getSchedule(java.util.Date startTime, java.util.Date endTime, java.lang.String serviceID) throws SearchInterfaceNotSupportedException
getSchedule
in interface LocationResolution
startTime
- Start time of schedule.endTime
- End time of schedule.serviceID
- The serviceID of the service we are interested in.
SearchInterfaceNotSupportedException
- If the implementation doesn't support this function.public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent
- Number of tabs with which to indent the string.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
indent
- Number of tabs with which to indent the string.
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |