com.sun.syndication.io.impl
クラス Atom03Generator

java.lang.Object
  上位を拡張 com.sun.syndication.io.impl.BaseWireFeedGenerator
      上位を拡張 com.sun.syndication.io.impl.Atom03Generator
すべての実装されたインタフェース:
WireFeedGenerator

public class Atom03Generator
extends BaseWireFeedGenerator

Feed Generator for Atom


コンストラクタの概要
  Atom03Generator()
           
protected Atom03Generator(java.lang.String type, java.lang.String version)
           
 
メソッドの概要
protected  void addEntries(Feed feed, Element parent)
           
protected  void addEntry(Entry entry, Element parent)
           
protected  void addFeed(Feed feed, Element parent)
           
protected  void checkEntriesConstraints(Element parent)
           
protected  void checkEntryConstraints(Element eEntry)
           
protected  void checkFeedHeaderConstraints(Element eFeed)
           
protected  Document createDocument(Element root)
           
protected  Element createRootElement(Feed feed)
           
protected  void fillContentElement(Element contentElement, Content content)
           
protected  void fillPersonElement(Element element, Person person)
           
 Document generate(WireFeed wFeed)
          Creates an XML document (JDOM) for the given feed bean.
protected  Element generateGeneratorElement(Generator generator)
           
protected  Element generateLinkElement(Link link)
           
protected  Element generateSimpleElement(java.lang.String name, java.lang.String value)
           
protected  Element generateTagLineElement(Content tagline)
           
protected  Namespace getFeedNamespace()
           
protected  java.lang.String getVersion()
           
protected  void populateEntry(Entry entry, Element eEntry)
           
protected  void populateFeed(Feed feed, Element parent)
           
protected  void populateFeedHeader(Feed feed, Element eFeed)
           
 
クラス com.sun.syndication.io.impl.BaseWireFeedGenerator から継承されたメソッド
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, getType, purgeUnusedNamespaceDeclarations
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Atom03Generator

public Atom03Generator()

Atom03Generator

protected Atom03Generator(java.lang.String type,
                          java.lang.String version)
メソッドの詳細

getVersion

protected java.lang.String getVersion()

getFeedNamespace

protected Namespace getFeedNamespace()

generate

public Document generate(WireFeed wFeed)
                  throws FeedException
インタフェース WireFeedGenerator の記述:
Creates an XML document (JDOM) for the given feed bean.

パラメータ:
wFeed - the feed bean to generate the XML document from.
戻り値:
the generated XML document (JDOM).
例外:
FeedException - thrown if the XML Document could not be created.

createDocument

protected Document createDocument(Element root)

createRootElement

protected Element createRootElement(Feed feed)

populateFeed

protected void populateFeed(Feed feed,
                            Element parent)
                     throws FeedException
例外:
FeedException

addFeed

protected void addFeed(Feed feed,
                       Element parent)
                throws FeedException
例外:
FeedException

addEntries

protected void addEntries(Feed feed,
                          Element parent)
                   throws FeedException
例外:
FeedException

addEntry

protected void addEntry(Entry entry,
                        Element parent)
                 throws FeedException
例外:
FeedException

populateFeedHeader

protected void populateFeedHeader(Feed feed,
                                  Element eFeed)
                           throws FeedException
例外:
FeedException

populateEntry

protected void populateEntry(Entry entry,
                             Element eEntry)
                      throws FeedException
例外:
FeedException

checkFeedHeaderConstraints

protected void checkFeedHeaderConstraints(Element eFeed)
                                   throws FeedException
例外:
FeedException

checkEntriesConstraints

protected void checkEntriesConstraints(Element parent)
                                throws FeedException
例外:
FeedException

checkEntryConstraints

protected void checkEntryConstraints(Element eEntry)
                              throws FeedException
例外:
FeedException

generateLinkElement

protected Element generateLinkElement(Link link)

fillPersonElement

protected void fillPersonElement(Element element,
                                 Person person)

generateTagLineElement

protected Element generateTagLineElement(Content tagline)

fillContentElement

protected void fillContentElement(Element contentElement,
                                  Content content)
                           throws FeedException
例外:
FeedException

generateGeneratorElement

protected Element generateGeneratorElement(Generator generator)

generateSimpleElement

protected Element generateSimpleElement(java.lang.String name,
                                        java.lang.String value)