|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.Atom03Generator
Feed Generator for Atom
Constructor Summary | |
Atom03Generator()
|
Method Summary | |
protected void |
fillContentElement(org.jdom.Element contentElement,
Content content)
|
protected void |
fillPersonElement(org.jdom.Element element,
Person person)
|
org.jdom.Document |
generate(AbstractFeed feed)
Creates an XML document (JDOM) for the given feed bean. |
protected org.jdom.Element |
generateEntryElement(Entry entry)
|
protected org.jdom.Element |
generateGeneratorElement(Generator generator)
|
protected org.jdom.Element |
generateLinkElement(Link link)
|
protected org.jdom.Element |
generateRootElement(Feed feed)
|
protected org.jdom.Element |
generateSimpleElement(java.lang.String name,
java.lang.String value)
|
protected org.jdom.Element |
generateTagLineElement(Content tagline)
|
java.lang.String |
getType()
Returns the type of feed the generator creates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Atom03Generator()
Method Detail |
public java.lang.String getType()
FeedGenerator
getType
in interface FeedGenerator
for details on the format of this string.
public org.jdom.Document generate(AbstractFeed feed) throws FeedException
FeedGenerator
generate
in interface FeedGenerator
feed
- the feed bean to generate the XML document from.
FeedException
- thrown if the XML Document could not be created.protected org.jdom.Element generateRootElement(Feed feed) throws FeedException
FeedException
protected org.jdom.Element generateLinkElement(Link link) throws FeedException
FeedException
protected void fillPersonElement(org.jdom.Element element, Person person) throws FeedException
FeedException
protected org.jdom.Element generateTagLineElement(Content tagline) throws FeedException
FeedException
protected void fillContentElement(org.jdom.Element contentElement, Content content) throws FeedException
FeedException
protected org.jdom.Element generateGeneratorElement(Generator generator) throws FeedException
FeedException
protected org.jdom.Element generateEntryElement(Entry entry) throws FeedException
FeedException
protected org.jdom.Element generateSimpleElement(java.lang.String name, java.lang.String value) throws FeedException
FeedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |