bbc.rd.tvanytime
Class SignLanguage

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

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

SignLanguage: Represents a description of a SignLanguage.

Version:
1.0
Author:
Tim Sargeant, BBC Research & Development, February 2003

Constructor Summary
SignLanguage()
          Create SignLanguage object.
 
Method Summary
 java.lang.Object clone()
          Clones itself.
 java.lang.String getLanguage()
          Get language
 java.lang.String getType()
          Get type.
 boolean isPrimary()
          Is this the primary sign language?
 boolean isTranslation()
          Is this a translation sign language?
 void setLanguage(java.lang.String language)
          Set language
 void setPrimary(boolean primary)
          Set primary flag
 void setTranslation(boolean translation)
          Set translation flag
 void setType(java.lang.String type)
          Set type
 java.lang.String toString()
          Returns string representation of the audio attributes.
 java.lang.String toString(int indent)
          Returns string representation of the audio attributes.
 java.lang.String toXML()
          Returns XML representation of the audio attributes.
 java.lang.String toXML(int indent)
          Returns XML representation of the audio attributes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignLanguage

public SignLanguage()
Create SignLanguage object.

Method Detail

getLanguage

public java.lang.String getLanguage()
Get language

Returns:
language a string representing the language

isPrimary

public boolean isPrimary()
Is this the primary sign language?

Returns:
primary flag? (false if unset)

isTranslation

public boolean isTranslation()
Is this a translation sign language?

Returns:
translation flag (false if unset)

getType

public java.lang.String getType()
Get type.

Returns:
a string representing the type

setType

public void setType(java.lang.String type)
Set type

Parameters:
type - a string representing the SignLanguage type

setLanguage

public void setLanguage(java.lang.String language)
Set language

Parameters:
language - a string representing the language

setPrimary

public void setPrimary(boolean primary)
Set primary flag

Parameters:
primary - value

setTranslation

public void setTranslation(boolean translation)
Set translation flag

Parameters:
translation - value

toXML

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

Returns:
XML representation of the audio attributes.

toXML

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

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

toString

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

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

toString

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

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

clone

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

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