bbc.rd.tvanytime.contentReferencing
Class LocationsResult

java.lang.Object
  extended by bbc.rd.tvanytime.contentReferencing.LocationsResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class LocationsResult
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

LocationsResult: A TVAnytime LocationsResult object. The Locators inside this element can be generic bbc.rd.tvanytime.contentReferencing.Locator objects, or transport-specific Locators, such as bbc.rd.tvanytime.contentReferencing.DVBLocator objecys (which represent DVB locators)

Version:
1.0
Author:
Tim Sargeant, BBC Research & Development, February 2003
See Also:
Locator, bbc.rd.tvanytime.contentReferencing.DVBLocator, Serialized Form

Constructor Summary
LocationsResult()
          Constructor for objects of type LocationsResult.
 
Method Summary
 void addLocator(Locator locator)
          Add a Locator object.
 java.lang.Object clone()
          Clones itself.
 Locator getLocator(int index)
          Get a Locator object.
 int getNumLocators()
          Get the number of Locator objects.
 java.lang.String toString()
          Returns string representation of this object.
 java.lang.String toString(int indent)
          Returns string representation of this object.
 java.lang.String toXML()
          Returns XML representation of this object.
 java.lang.String toXML(int indent)
          Returns XML representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationsResult

public LocationsResult()
Constructor for objects of type LocationsResult.

Method Detail

addLocator

public void addLocator(Locator locator)
Add a Locator object.

Parameters:
The - Locator object to add to this table.

getLocator

public Locator getLocator(int index)
Get a Locator object.

Parameters:
index - The index of the Locator object to access.
Returns:
Specified Locator object.

getNumLocators

public int getNumLocators()
Get the number of Locator objects.

Returns:
The number of Locator objects contained in this table.

toXML

public java.lang.String toXML()
Returns XML representation of this object.

Returns:
XML representation of this object.

toXML

public java.lang.String toXML(int indent)
Returns XML representation of this object.

Parameters:
indent - Number of tabs with which to indent the string.
Returns:
XML representation of the object.

toString

public java.lang.String toString()
Returns string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
String representation of this object.

toString

public java.lang.String toString(int indent)
Returns string representation of this object.

Parameters:
indent - Number of tabs with which to indent the string.
Returns:
string representation of the object.

clone

public java.lang.Object clone()
Clones itself.

Overrides:
clone in class java.lang.Object
Returns:
A copy of itself.