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

java.lang.Object
  上位を拡張 com.sun.syndication.io.impl.BaseWireFeedGenerator
      上位を拡張 com.sun.syndication.io.impl.RSS090Generator
すべての実装されたインタフェース:
WireFeedGenerator
直系の既知のサブクラス:
RSS091UserlandGenerator, RSS10Generator

public class RSS090Generator
extends BaseWireFeedGenerator

Feed Generator for RSS 0.90


コンストラクタの概要
  RSS090Generator()
           
protected RSS090Generator(java.lang.String type)
           
 
メソッドの概要
protected  void addChannel(Channel channel, Element parent)
           
protected  void addImage(Channel channel, Element parent)
           
protected  void addItem(Item item, Element parent, int index)
           
protected  void addItems(Channel channel, Element parent)
           
protected  void addTextInput(Channel channel, Element parent)
           
protected  void checkChannelConstraints(Element eChannel)
           
protected  void checkImageConstraints(Element eImage)
           
protected  void checkItemConstraints(Element eItem)
           
protected  void checkItemsConstraints(Element parent)
           
protected  void checkLength(Element parent, java.lang.String childName, int minLen, int maxLen)
           
protected  void checkNotNullAndLength(Element parent, java.lang.String childName, int minLen, int maxLen)
           
protected  void checkTextInputConstraints(Element eTextInput)
           
protected  Document createDocument(Element root)
           
protected  Element createRootElement(Channel channel)
           
 Document generate(WireFeed feed)
          Creates an XML document (JDOM) for the given feed bean.
protected  Element generateSimpleElement(java.lang.String name, java.lang.String value)
           
protected  Namespace getContentNamespace()
           
protected  Namespace getFeedNamespace()
           
protected  Namespace getRDFNamespace()
           
protected  java.lang.String getTextInputLabel()
           
protected  void populateChannel(Channel channel, Element eChannel)
          Populates the given channel with parsed data from the ROME element that holds the channel data.
protected  void populateFeed(Channel channel, Element parent)
           
protected  void populateImage(Image image, Element eImage)
           
protected  void populateItem(Item item, Element eItem, int index)
           
protected  void populateTextInput(TextInput textInput, Element eTextInput)
           
 
クラス 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
 

コンストラクタの詳細

RSS090Generator

public RSS090Generator()

RSS090Generator

protected RSS090Generator(java.lang.String type)
メソッドの詳細

generate

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

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

getFeedNamespace

protected Namespace getFeedNamespace()

getRDFNamespace

protected Namespace getRDFNamespace()

getContentNamespace

protected Namespace getContentNamespace()

createDocument

protected Document createDocument(Element root)

createRootElement

protected Element createRootElement(Channel channel)

populateFeed

protected void populateFeed(Channel channel,
                            Element parent)
                     throws FeedException
例外:
FeedException

addChannel

protected void addChannel(Channel channel,
                          Element parent)
                   throws FeedException
例外:
FeedException

populateChannel

protected void populateChannel(Channel channel,
                               Element eChannel)
Populates the given channel with parsed data from the ROME element that holds the channel data.

パラメータ:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.

checkNotNullAndLength

protected void checkNotNullAndLength(Element parent,
                                     java.lang.String childName,
                                     int minLen,
                                     int maxLen)
                              throws FeedException
例外:
FeedException

checkLength

protected void checkLength(Element parent,
                           java.lang.String childName,
                           int minLen,
                           int maxLen)
                    throws FeedException
例外:
FeedException

addImage

protected void addImage(Channel channel,
                        Element parent)
                 throws FeedException
例外:
FeedException

populateImage

protected void populateImage(Image image,
                             Element eImage)

getTextInputLabel

protected java.lang.String getTextInputLabel()

addTextInput

protected void addTextInput(Channel channel,
                            Element parent)
                     throws FeedException
例外:
FeedException

populateTextInput

protected void populateTextInput(TextInput textInput,
                                 Element eTextInput)

addItems

protected void addItems(Channel channel,
                        Element parent)
                 throws FeedException
例外:
FeedException

addItem

protected void addItem(Item item,
                       Element parent,
                       int index)
                throws FeedException
例外:
FeedException

populateItem

protected void populateItem(Item item,
                            Element eItem,
                            int index)

generateSimpleElement

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

checkChannelConstraints

protected void checkChannelConstraints(Element eChannel)
                                throws FeedException
例外:
FeedException

checkImageConstraints

protected void checkImageConstraints(Element eImage)
                              throws FeedException
例外:
FeedException

checkTextInputConstraints

protected void checkTextInputConstraints(Element eTextInput)
                                  throws FeedException
例外:
FeedException

checkItemsConstraints

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

checkItemConstraints

protected void checkItemConstraints(Element eItem)
                             throws FeedException
例外:
FeedException