| Modifier and Type | Class and Description |
|---|---|
class |
OtherContent.AtomHandler
Parses XML in the Atom format.
|
Content.ChildHandlerInfoIContent.Type| Constructor and Description |
|---|
OtherContent() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getChildHandlerpublic int getType()
ContentIContent.Type for the set of
expected values.public ContentType getMimeType()
public void setMimeType(ContentType v)
public java.lang.String getLang()
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 extensionsjava.io.IOExceptionpublic void generateRss(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
generateRss in class Contentw - output writerextProfile - Extension Profile for nested extensionsjava.io.IOException