|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.rssaggregator.generator.Feed
public class Feed
A Feed.
Constructor Summary | |
---|---|
Feed(String xml,
String characterEncoding)
Construct a new Feed with the given content, characterEncoding and default content type (text/xml). |
|
Feed(String content,
String contentType,
String characterEncoding)
Construct a new Feed with the given content and characterEncoding. |
Method Summary | |
---|---|
String |
getContent()
Return the content of this feed. |
String |
getContentType()
Return the contentType of this feed. |
String |
getCharacterEncoding()
Return the character encoding of this feed. |
String |
getXml()
Deprecated. since 1.1 use {link #getContent()} instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Feed(String content, String contentType, String characterEncoding)
content
- the content of this feed (must not be null)contentType
- the content type (i.e. 'text/xml') for this feed.characterEncoding
- the character encoding of this feed (must not be null)public Feed(String xml, String characterEncoding)
xml
- the content of this feed (must not be null)characterEncoding
- the character encoding of this feed (must not be null)Method Detail |
---|
public String getXml()
public String getContent()
public String getCharacterEncoding()
public String getContentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |