java.lang.Object
com.sun.syndication.io.impl.BaseWireFeedGenerator
com.sun.syndication.io.impl.Atom03Generator
- All Implemented Interfaces:
- com.sun.syndication.io.WireFeedGenerator
- public class Atom03Generator
- extends BaseWireFeedGenerator
Feed Generator for Atom
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATOM_03_URI
private static final java.lang.String ATOM_03_URI
- See Also:
- Constant Field Values
ATOM_NS
private static final org.jdom.Namespace ATOM_NS
_version
private java.lang.String _version
Atom03Generator
public Atom03Generator()
Atom03Generator
protected Atom03Generator(java.lang.String type,
java.lang.String version)
getVersion
protected java.lang.String getVersion()
getFeedNamespace
protected org.jdom.Namespace getFeedNamespace()
generate
public org.jdom.Document generate(com.sun.syndication.feed.WireFeed wFeed)
throws com.sun.syndication.io.FeedException
- Description copied from interface:
com.sun.syndication.io.WireFeedGenerator
- Creates an XML document (JDOM) for the given feed bean.
createDocument
protected org.jdom.Document createDocument(org.jdom.Element root)
createRootElement
protected org.jdom.Element createRootElement(com.sun.syndication.feed.atom.Feed feed)
populateFeed
protected void populateFeed(com.sun.syndication.feed.atom.Feed feed,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
addFeed
protected void addFeed(com.sun.syndication.feed.atom.Feed feed,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
addEntries
protected void addEntries(com.sun.syndication.feed.atom.Feed feed,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
addEntry
protected void addEntry(com.sun.syndication.feed.atom.Entry entry,
org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
populateFeedHeader
protected void populateFeedHeader(com.sun.syndication.feed.atom.Feed feed,
org.jdom.Element eFeed)
throws com.sun.syndication.io.FeedException
populateEntry
protected void populateEntry(com.sun.syndication.feed.atom.Entry entry,
org.jdom.Element eEntry)
throws com.sun.syndication.io.FeedException
checkFeedHeaderConstraints
protected void checkFeedHeaderConstraints(org.jdom.Element eFeed)
throws com.sun.syndication.io.FeedException
checkEntriesConstraints
protected void checkEntriesConstraints(org.jdom.Element parent)
throws com.sun.syndication.io.FeedException
checkEntryConstraints
protected void checkEntryConstraints(org.jdom.Element eEntry)
throws com.sun.syndication.io.FeedException
generateLinkElement
protected org.jdom.Element generateLinkElement(com.sun.syndication.feed.atom.Link link)
fillPersonElement
protected void fillPersonElement(org.jdom.Element element,
com.sun.syndication.feed.atom.Person person)
generateTagLineElement
protected org.jdom.Element generateTagLineElement(com.sun.syndication.feed.atom.Content tagline)
fillContentElement
protected void fillContentElement(org.jdom.Element contentElement,
com.sun.syndication.feed.atom.Content content)
throws com.sun.syndication.io.FeedException
generateGeneratorElement
protected org.jdom.Element generateGeneratorElement(com.sun.syndication.feed.atom.Generator generator)
generateSimpleElement
protected org.jdom.Element generateSimpleElement(java.lang.String name,
java.lang.String value)