| java.lang.Object | ||
| ↳ | com.google.gdata.data.Content | |
| ↳ | com.google.gdata.data.OtherContent | |
Variant of Content for entries containing miscellaneous
inlined content types.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OtherContent.AtomHandler | Parses XML in the Atom format. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| bytes | Binary Contents. | ||||||||||
| ext | Extension content. | ||||||||||
| lang | Language. | ||||||||||
| mimeType | MIME type. | ||||||||||
| text | Text contents. | ||||||||||
| xml | XML contents. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates XML in the Atom format.
| |||||||||||
Generates XML in the RSS format.
| |||||||||||
Returns the human language that this content is written in.
| |||||||||||
Returns this content's type.
| |||||||||||
Returns the nested xml content.
| |||||||||||
Specifies the binary contents.
| |||||||||||
Specifies the human language that this content is written in.
| |||||||||||
Specifies the MIME type.
| |||||||||||
Specifies the plain-text contents.
| |||||||||||
Specifies the XML contents.
| |||||||||||
Sets the nested xml content.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.Content
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.IContent
| |||||||||||
Binary Contents. Valid if neither XML nor text contents are valid.
Language. Derived from the current state of xml:lang.
Applies to inline text and binary types only.
Text contents. Valid only for text types (starting with "text/").
Generates XML in the Atom format.
| w | Output writer |
|---|---|
| extProfile | Extension Profile for nested extensions |
| IOException |
|---|
Generates XML in the RSS format.
| w | Output writer |
|---|---|
| extProfile | Extension Profile for nested extensions |
| IOException |
|---|
Returns the human language that this content is written in.
Returns this content's type. See IContent.Type for the set of
expected values.
Specifies the binary contents.
| v |
|---|
Specifies the human language that this content is written in.
| v |
|---|
Specifies the plain-text contents.
| v |
|---|