|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.atom.Text
Describes a text construct containing either plain text, HTML, or
XHTML.
Defined in gdata.js
Field Summary | |
{string|undefined} |
$t
Text content. |
{string|undefined} |
src
External URI. |
{string|undefined} |
type
Type of text construct (typically 'text', 'html' or 'xhtml'). |
Constructor Summary | |
google.gdata.atom.Text(<Object> opt_params)
Constructs a text construct using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getLang()
Returns the language of link title. |
string|undefined
|
getText()
Returns the text content. |
string|undefined
|
getType()
Returns the type of text construct (typically 'text', 'html' or 'xhtml'). |
string|undefined
|
getUri()
Returns the external URI. |
void
|
setLang(<string|undefined> lang)
Sets the language of link title. |
void
|
setText(<string|undefined> text)
Sets the text content. |
void
|
setType(<string|undefined> type)
Sets the type of text construct (typically 'text', 'html' or 'xhtml'). |
void
|
setUri(<string|undefined> uri)
Sets the external URI. |
<static> google.gdata.atom.Text
|
create(<string> text, <string> opt_type)
Create a new text construct using the typical parameters. |
Field Detail |
{string|undefined} $t
{string|undefined} src
{string|undefined} type
Constructor Detail |
google.gdata.atom.Text(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: lang, text, type, and uri.
Method Detail |
string|undefined getLang()
string|undefined getText()
string|undefined getType()
string|undefined getUri()
void setLang(<string|undefined> lang)
lang
- Language of link title or undefined for none.
void setText(<string|undefined> text)
text
- Text content or undefined for none.
void setType(<string|undefined> type)
type
- Type of text construct (typically 'text', 'html' or 'xhtml') or undefined for none.
void setUri(<string|undefined> uri)
uri
- External URI or undefined for none.
<static> google.gdata.atom.Text create(<string> text, <string> opt_type)
text
- Text content.
opt_type
- Optional type of text construct (default is 'text').
|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |