|
|||||||||
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()
Content
IContent.Type
for the set of
expected values.
getType
in interface IContent
getType
in class Content
public java.lang.String getLang()
Content
getLang
in interface IContent
getLang
in class Content
public TextConstruct getContent()
ITextContent
ITextConstruct
that contains the text content.
getContent
in interface ITextContent
public void setContent(TextConstruct v)
public void generateAtom(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
generateAtom
in class Content
w
- 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 Content
w
- 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 |