|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.Title
public class Title
Title: Represents a title object
Field Summary | |
---|---|
static int |
ALBUMTITLE
|
static int |
ALTERNATIVE
|
static int |
EPISODETITLE
|
static int |
MAIN
|
static int |
OPUSNUMBER
|
static int |
ORIGINAL
|
static int |
POPULAR
|
static int |
SECONDARY
|
static int |
SERIESTITLE
|
static int |
SONGTITLE
|
Constructor Summary | |
---|---|
Title()
Constructor for objects of type Title |
|
Title(java.lang.String text)
Constructor for objects of type Title with required fields |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones itself. |
java.lang.String |
getLanguage()
Get the title language, |
java.lang.String |
getText()
Get the text of the title. |
int |
getType()
Get the type of the title (MAIN, POPULAR, EPISODETITLE, etc.) |
void |
setLanguage(java.lang.String language)
Set the title language |
void |
setText(java.lang.String text)
Set the title text. |
void |
setType(int titleType)
Sets the title type |
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 |
Field Detail |
---|
public static final int MAIN
public static final int SECONDARY
public static final int ALTERNATIVE
public static final int ORIGINAL
public static final int POPULAR
public static final int OPUSNUMBER
public static final int SONGTITLE
public static final int ALBUMTITLE
public static final int SERIESTITLE
public static final int EPISODETITLE
Constructor Detail |
---|
public Title()
public Title(java.lang.String text)
text
- the title textMethod Detail |
---|
public java.lang.String getText()
public java.lang.String getLanguage()
public int getType()
public void setText(java.lang.String text)
text
- the String representation of the Titlepublic void setLanguage(java.lang.String language)
language
- The String representation of the Title languagepublic void setType(int titleType) throws TVAnytimeException
titleType
- the Title type
TVAnytimeException
- thrown when the title type is not validpublic java.lang.String toXML()
public java.lang.String toXML(int indent)
indent
- 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
- 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 |