Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.io.impl
Class Atom03Generator  view Atom03Generator download Atom03Generator.java

java.lang.Object
  extended bycom.sun.syndication.io.impl.BaseWireFeedGenerator
      extended bycom.sun.syndication.io.impl.Atom03Generator
All Implemented Interfaces:
com.sun.syndication.io.WireFeedGenerator

public class Atom03Generator
extends BaseWireFeedGenerator

Feed Generator for Atom


Field Summary
private  java.lang.String _version
           
private static java.lang.String ATOM_03_URI
           
private static org.jdom.Namespace ATOM_NS
           
 
Fields inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
 
Constructor Summary
  Atom03Generator()
           
protected Atom03Generator(java.lang.String type, java.lang.String version)
           
 
Method Summary
protected  void addEntries(com.sun.syndication.feed.atom.Feed feed, org.jdom.Element parent)
           
protected  void addEntry(com.sun.syndication.feed.atom.Entry entry, org.jdom.Element parent)
           
protected  void addFeed(com.sun.syndication.feed.atom.Feed feed, org.jdom.Element parent)
           
protected  void checkEntriesConstraints(org.jdom.Element parent)
           
protected  void checkEntryConstraints(org.jdom.Element eEntry)
           
protected  void checkFeedHeaderConstraints(org.jdom.Element eFeed)
           
protected  org.jdom.Document createDocument(org.jdom.Element root)
           
protected  org.jdom.Element createRootElement(com.sun.syndication.feed.atom.Feed feed)
           
protected  void fillContentElement(org.jdom.Element contentElement, com.sun.syndication.feed.atom.Content content)
           
protected  void fillPersonElement(org.jdom.Element element, com.sun.syndication.feed.atom.Person person)
           
 org.jdom.Document generate(com.sun.syndication.feed.WireFeed wFeed)
          Creates an XML document (JDOM) for the given feed bean.
protected  org.jdom.Element generateGeneratorElement(com.sun.syndication.feed.atom.Generator generator)
           
protected  org.jdom.Element generateLinkElement(com.sun.syndication.feed.atom.Link link)
           
protected  org.jdom.Element generateSimpleElement(java.lang.String name, java.lang.String value)
           
protected  org.jdom.Element generateTagLineElement(com.sun.syndication.feed.atom.Content tagline)
           
protected  org.jdom.Namespace getFeedNamespace()
           
protected  java.lang.String getVersion()
           
protected  void populateEntry(com.sun.syndication.feed.atom.Entry entry, org.jdom.Element eEntry)
           
protected  void populateFeed(com.sun.syndication.feed.atom.Feed feed, org.jdom.Element parent)
           
protected  void populateFeedHeader(com.sun.syndication.feed.atom.Feed feed, org.jdom.Element eFeed)
           
 
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateItemModules, generateModuleNamespaceDefs, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Atom03Generator

public Atom03Generator()

Atom03Generator

protected Atom03Generator(java.lang.String type,
                          java.lang.String version)
Method Detail

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)