bbc.rd.tvanytime.programInformation
Class AVAttributes

java.lang.Object
  extended by bbc.rd.tvanytime.programInformation.AVAttributes
All Implemented Interfaces:
java.lang.Cloneable

public class AVAttributes
extends java.lang.Object
implements java.lang.Cloneable

AVAttributes: Represents audio-visual information about a program.

Version:
1.0
Author:
Tristan Ferne, BBC Research & Development, November 2002

Constructor Summary
AVAttributes()
          Constructor for AVAttributes.
AVAttributes(AudioAttributes audioAttributes, VideoAttributes videoAttributes)
          Constructor for AVAttributes.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 AudioAttributes getAudioAttributes()
          Get audio attributes object.
 VideoAttributes getVideoAttributes()
          Set video attributes object.
 void setAudioAttributes(AudioAttributes audioAttributes)
          Set audio attributes object.
 void setVideoAttributes(VideoAttributes videoAttributes)
          Get video attributes object.
 java.lang.String toString()
          Returns string representation of the audio-visual attributes.
 java.lang.String toString(int indent)
          Returns string representation of the audio-visual attributes.
 java.lang.String toXML()
          Returns XML representation of the audio-visual attributes.
 java.lang.String toXML(int indent)
          Returns XML representation of the audio-visual attributes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AVAttributes

public AVAttributes(AudioAttributes audioAttributes,
                    VideoAttributes videoAttributes)
Constructor for AVAttributes.

Parameters:
audioAttributes - Audio attributes object.
videoAttributes - Video attributes object.

AVAttributes

public AVAttributes()
Constructor for AVAttributes.

Method Detail

setAudioAttributes

public void setAudioAttributes(AudioAttributes audioAttributes)
Set audio attributes object.

Parameters:
audioAttributes - Audio attributes object.

getAudioAttributes

public AudioAttributes getAudioAttributes()
Get audio attributes object.

Returns:
Audio attributes object.

getVideoAttributes

public VideoAttributes getVideoAttributes()
Set video attributes object.

Parameters:
videoAttributes - Video attributes object.

setVideoAttributes

public void setVideoAttributes(VideoAttributes videoAttributes)
Get video attributes object.


toXML

public java.lang.String toXML()
Returns XML representation of the audio-visual attributes.

Returns:
XML representation of the audio-visual attributes.

toXML

public java.lang.String toXML(int indent)
Returns XML representation of the audio-visual attributes.

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

toString

public java.lang.String toString()
Returns string representation of the audio-visual attributes.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the audio-visual attributes.

toString

public java.lang.String toString(int indent)
Returns string representation of the audio-visual attributes.

Parameters:
indent - Number of tabs with which to indent the string.
Returns:
string representation of the audio-visual attributes.

clone

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

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