|
|||||||||
| 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.OtherContent
public class OtherContent
Variant of Content for entries containing miscellaneous
inlined content types.
| Nested Class Summary | |
|---|---|
class |
OtherContent.AtomHandler
Parses XML in the Atom format. |
| 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 |
| Constructor Summary | |
|---|---|
OtherContent()
|
|
| Method Summary | |
|---|---|
void |
generateAtom(XmlWriter w,
ExtensionProfile extProfile)
Generates XML in the Atom format. |
void |
generateRss(XmlWriter w,
ExtensionProfile extProfile)
Generates XML in the RSS format. |
byte[] |
getBytes()
|
java.lang.String |
getLang()
Returns the human language that this content is written in. |
ContentType |
getMimeType()
|
java.lang.String |
getText()
|
int |
getType()
Returns this content's type. |
XmlBlob |
getXml()
|
Extension |
getXmlContent()
Returns the nested xml content. |
void |
setBytes(byte[] v)
Specifies the binary contents. |
void |
setLang(java.lang.String v)
Specifies the human language that this content is written in. |
void |
setMimeType(ContentType v)
Specifies the MIME type. |
void |
setText(java.lang.String v)
Specifies the plain-text contents. |
void |
setXml(XmlBlob v)
Specifies the XML contents. |
void |
setXmlContent(Extension extension)
Sets the nested xml content. |
| Methods inherited from class com.google.gdata.data.Content |
|---|
getChildHandler |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OtherContent()
| Method Detail |
|---|
public int getType()
ContentIContent.Type for the set of
expected values.
getType in interface IContentgetType in class Contentpublic ContentType getMimeType()
public void setMimeType(ContentType v)
public java.lang.String getLang()
Content
getLang in interface IContentgetLang in class Contentpublic void setLang(java.lang.String v)
public Extension getXmlContent()
public void setXmlContent(Extension extension)
public XmlBlob getXml()
public void setXml(XmlBlob v)
public java.lang.String getText()
public void setText(java.lang.String v)
public byte[] getBytes()
public void setBytes(byte[] v)
public void generateAtom(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(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 | ||||||||