|
|||||||||
| 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 |
| Nested classes/interfaces inherited from interface com.google.gdata.data.IContent |
|---|
IContent.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,
ExtensionProfile extProfile)
Generates XML in the Atom format. |
void |
generateRss(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
Generates XML in the RSS format. |
TextConstruct |
getContent()
Returns the ITextConstruct that contains the text content. |
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()
ContentIContent.Type for the set of
expected values.
getType in interface IContentgetType in class Contentpublic java.lang.String getLang()
Content
getLang in interface IContentgetLang in class Contentpublic TextConstruct getContent()
ITextContentITextConstruct that contains the text content.
getContent in interface ITextContentpublic void setContent(TextConstruct v)
public void generateAtom(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
throws java.io.IOException
generateAtom in class Contentw - output writerextProfile - Extension Profile for nested extensions
java.io.IOException
public void generateRss(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
throws java.io.IOException
generateRss in class Contentw - output writerextProfile - Extension Profile for nested extensions
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||