public class TextContent extends Content implements ITextContent
Content for entries containing text.Content.ChildHandlerInfoIContent.Type| Modifier and Type | Field and Description |
|---|---|
protected TextConstruct |
content
Content.
|
| Constructor and Description |
|---|
TextContent()
Class constructor.
|
TextContent(TextConstruct content)
Class constructor specifying the content for this element to contain.
|
| 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.
|
TextConstruct |
getContent()
Returns the
ITextConstruct that contains the text content. |
java.lang.String |
getLang()
Returns the human language that this content is written in.
|
int |
getType()
Returns this content's type.
|
void |
setContent(TextConstruct v)
Specifies the text content.
|
getChildHandlerprotected TextConstruct content
public TextContent()
public TextContent(TextConstruct content)
public int getType()
ContentIContent.Type for the set of
expected values.public java.lang.String getLang()
Contentpublic TextConstruct getContent()
ITextContentITextConstruct that contains the text content.getContent in interface ITextContentpublic void setContent(TextConstruct 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