bbc.rd.tvanytime
Class PromotionalInformation

java.lang.Object
  extended by bbc.rd.tvanytime.PromotionalInformation

public class PromotionalInformation
extends java.lang.Object

PromotionalInformation: Represents a TV-Anytime PromotionalInformation object.

Version:
1.0
Author:
Tristan Ferne, BBC Research & Development, February 2003

Constructor Summary
PromotionalInformation()
          Default constructor.
PromotionalInformation(java.lang.String text)
          Constructor that sets promotional information.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String getPromotionalInformation()
          Returns promotional information.
 void setPromotionalInformation(java.lang.String text)
          Sets promotional information.
 java.lang.String toString()
          Return a string representation of this object.
 java.lang.String toString(int indent)
          Return a string representation of this object.
 java.lang.String toXML()
          Return a XML representation of this object.
 java.lang.String toXML(int indent)
          Return a XML representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PromotionalInformation

public PromotionalInformation()
Default constructor.


PromotionalInformation

public PromotionalInformation(java.lang.String text)
Constructor that sets promotional information.

Parameters:
text - Promotional information.
Method Detail

getPromotionalInformation

public java.lang.String getPromotionalInformation()
Returns promotional information.

Returns:
Promotional information.

setPromotionalInformation

public void setPromotionalInformation(java.lang.String text)
Sets promotional information.

Parameters:
text - Promotional information.

toXML

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

Returns:
XML representation of this object.

toXML

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

Parameters:
indent - number of tabs to put before the string.
Returns:
XML representation of this object.

toString

public java.lang.String toString()
Return a 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)
Return a string representation of this object.

Parameters:
indent - number of tabs to put before the string.
Returns:
string representation of this object.

clone

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

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