| java.lang.Object |
| ↳ |
com.google.gdata.data.Content |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Abstract base class for entry content.
Summary
| Nested Classes |
|
class |
Content.ChildHandlerInfo |
Return type for
getChildHandler(ExtensionProfile, Attributes) contains an
element handler and a content element. |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.data.IContent
|
abstract
String
|
getLang()
Returns the human language that this content is written in.
|
|
abstract
int
|
getType()
Returns this content's type.
|
|
Public Constructors
Public Methods
public
abstract
void
generateAtom
(XmlWriter w, ExtensionProfile extProfile)
Generates XML in the Atom format.
Parameters
| w
| Output writer |
| extProfile
| Extension profile for nested extensions. |
Generates XML in the RSS format.
Parameters
| w
| Output writer |
| extProfile
| Extension profile for nested extensions. |
Parses XML in the Atom format.
Parameters
| extProfile
| ExtensionProfile used for nested content. |
| attrs
| XML attributes of the Content node.
Used to determine the type of this node. |
public
abstract
String
getLang
()
Returns the human language that this content is written in.
Returns
- the language of the content if available, or null if not.
public
abstract
int
getType
()
Returns this content's type. See IContent.Type for the set of
expected values.