|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.Content
com.google.gdata.data.TextContent
public class TextContent
Variant of Content for entries containing text.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.Content |
|---|
Content.ChildHandlerInfo, Content.Type |
| Field Summary | |
|---|---|
protected TextConstruct |
content
Content. |
| Constructor Summary | |
|---|---|
TextContent()
Class constructor. |
|
TextContent(TextConstruct content)
Class constructor specifying the content for this element to contain. |
|
| Method Summary | |
|---|---|
void |
generateAtom(com.google.gdata.util.common.xml.XmlWriter w)
Generates XML in the Atom format. |
void |
generateRss(com.google.gdata.util.common.xml.XmlWriter w)
Generates XML in the RSS format. |
TextConstruct |
getContent()
|
java.lang.String |
getLang()
Returns the human language that this content is written in. |
int |
getType()
Returns this content's type. |
void |
setContent(TextConstruct v)
Specifies the text content. |
| Methods inherited from class com.google.gdata.data.Content |
|---|
getChildHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TextConstruct content
| Constructor Detail |
|---|
public TextContent()
public TextContent(TextConstruct content)
| Method Detail |
|---|
public int getType()
Content
getType in class Contentpublic java.lang.String getLang()
Content
getLang in class Contentpublic TextConstruct getContent()
public void setContent(TextConstruct v)
public void generateAtom(com.google.gdata.util.common.xml.XmlWriter w)
throws java.io.IOException
generateAtom in class Contentw - output writer
java.io.IOException
public void generateRss(com.google.gdata.util.common.xml.XmlWriter w)
throws java.io.IOException
generateRss in class Contentw - output writer
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||