bbc.rd.tvanytime.creditsInformation
Class Character

java.lang.Object
  extended by bbc.rd.tvanytime.creditsInformation.PersonName
      extended by bbc.rd.tvanytime.creditsInformation.Character
All Implemented Interfaces:
java.lang.Cloneable

public class Character
extends PersonName
implements java.lang.Cloneable

Represents a TV-Anytime Character object. Extends PersonName by changing XML and string representation.

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

Constructor Summary
Character()
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String toString(int indent)
          toString - returns a String representation of this object with the specified number of tab indentations
 java.lang.String toXML(int indent)
          Returns a XML representation of this object with the specified number of tab indentations
 
Methods inherited from class bbc.rd.tvanytime.creditsInformation.PersonName
getFamilyName, getGivenName, getName, setFamilyName, setGivenName, toString, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Character

public Character()
Constructor.

Method Detail

toXML

public java.lang.String toXML(int indent)
Returns a XML representation of this object with the specified number of tab indentations

Overrides:
toXML in class PersonName
Returns:
the XML representation of the object

toString

public java.lang.String toString(int indent)
toString - returns a String representation of this object with the specified number of tab indentations

Overrides:
toString in class PersonName
Returns:
the String representation of the object

clone

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

Overrides:
clone in class PersonName
Returns:
A copy of itself.