|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.Content
public abstract class Content
Abstract base class for entry content.
Nested Class Summary | |
---|---|
static class |
Content.ChildHandlerInfo
Return type for getChildHandler(ExtensionProfile, Attributes) contains an
element handler and a content element. |
Nested classes/interfaces inherited from interface com.google.gdata.data.IContent |
---|
IContent.Type |
Constructor Summary | |
---|---|
Content()
|
Method Summary | |
---|---|
abstract void |
generateAtom(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
Generates XML in the Atom format. |
abstract void |
generateRss(com.google.gdata.util.common.xml.XmlWriter w,
ExtensionProfile extProfile)
Generates XML in the RSS format. |
static Content.ChildHandlerInfo |
getChildHandler(ExtensionProfile extProfile,
org.xml.sax.Attributes attrs)
Parses XML in the Atom format. |
abstract java.lang.String |
getLang()
Returns the human language that this content is written in. |
abstract int |
getType()
Returns this content's type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Content()
Method Detail |
---|
public abstract int getType()
IContent.Type
for the set of
expected values.
getType
in interface IContent
public abstract java.lang.String getLang()
getLang
in interface IContent
public abstract void generateAtom(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
w
- output writerextProfile
- extension profile for nested extensions.
java.io.IOException
public abstract void generateRss(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
w
- output writerextProfile
- extension profile for nested extensions.
java.io.IOException
public static Content.ChildHandlerInfo getChildHandler(ExtensionProfile extProfile, org.xml.sax.Attributes attrs) throws ParseException, java.io.IOException
extProfile
- ExtensionProfile used for nested content.attrs
- XML attributes of the Content node.
Used to determine the type of this node.
ParseException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |