|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.Synopsis
public class Synopsis
Synopsis: Represents a Synopsis object
Field Summary | |
---|---|
static int |
LONG
|
static int |
MEDIUM
|
static int |
SHORT
|
static int |
UNDEFINED
|
Constructor Summary | |
---|---|
Synopsis()
Constructor for objects of type Synopsis |
|
Synopsis(java.lang.String text)
Constructor for objects of type Synopsis with required fields |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones itself. |
java.lang.String |
getLanguage()
Get the synopsis language |
int |
getLength()
Get the synopsis length |
java.lang.String |
getText()
Get the textual synopsis |
void |
setLanguage(java.lang.String language)
Set the synopsis language |
void |
setLength(int length)
Set the synopsis length. |
void |
setText(java.lang.String text)
Sets the textual synopsis |
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 |
Field Detail |
---|
public static final int UNDEFINED
public static final int SHORT
public static final int MEDIUM
public static final int LONG
Constructor Detail |
---|
public Synopsis()
public Synopsis(java.lang.String text)
text
- the synopsis textMethod Detail |
---|
public java.lang.String getLanguage()
public int getLength()
public java.lang.String getText()
public void setLanguage(java.lang.String language)
language
- the String representation of the Synopsis languagepublic void setLength(int length) throws TVAnytimeException
length
- SHORT, MEDIUM or LONG. UNDEFINED if not set.
TVAnytimeException
- thrown when the synopsis length is invalidpublic void setText(java.lang.String text)
text
- the String representation of the Synopsispublic java.lang.String toXML()
public java.lang.String toXML(int indent)
indent
- the number of tabs to put before the string.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
indent
- the number of tabs to put before the string.
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |