|
GData JavaScript Client 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.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 |
type
Type of text construct (typically 'text', 'html' or 'xhtml'). |
Constructor Summary | |
google.gdata.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'). |
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'). |
<static> google.gdata.Text
|
create(<String> text, <String> opt_type)
Create a new text construct using the typical parameters. |
Field Detail |
String|Undefined $t
String|Undefined type
Constructor Detail |
google.gdata.Text(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: lang, text, and type
Method Detail |
String|Undefined getLang()
String|Undefined getText()
String|Undefined getType()
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
<static> google.gdata.Text create(<String> text, <String> opt_type)
text
- Text content
opt_type
- Optional type of text construct (default is 'text')
|
GData JavaScript Client 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |