Class Atom03Generator

    • Constructor Detail

      • Atom03Generator

        public Atom03Generator()
      • Atom03Generator

        protected Atom03Generator​(String type,
                                  String version)
    • Method Detail

      • getVersion

        protected String getVersion()
      • getFeedNamespace

        protected org.jdom2.Namespace getFeedNamespace()
      • generate

        public org.jdom2.Document generate​(WireFeed wFeed)
                                    throws FeedException
        Description copied from interface: WireFeedGenerator
        Creates an XML document (JDOM) for the given feed bean.

        Parameters:
        wFeed - the feed bean to generate the XML document from.
        Returns:
        the generated XML document (JDOM).
        Throws:
        FeedException - thrown if the XML Document could not be created.
      • createDocument

        protected org.jdom2.Document createDocument​(org.jdom2.Element root)
      • createRootElement

        protected org.jdom2.Element createRootElement​(Feed feed)
      • checkFeedHeaderConstraints

        protected void checkFeedHeaderConstraints​(org.jdom2.Element eFeed)
                                           throws FeedException
        Throws:
        FeedException
      • checkEntriesConstraints

        protected void checkEntriesConstraints​(org.jdom2.Element parent)
                                        throws FeedException
        Throws:
        FeedException
      • checkEntryConstraints

        protected void checkEntryConstraints​(org.jdom2.Element eEntry)
                                      throws FeedException
        Throws:
        FeedException
      • generateLinkElement

        protected org.jdom2.Element generateLinkElement​(Link link)
      • fillPersonElement

        protected void fillPersonElement​(org.jdom2.Element element,
                                         SyndPerson person)
      • generateTagLineElement

        protected org.jdom2.Element generateTagLineElement​(Content tagline)
      • generateGeneratorElement

        protected org.jdom2.Element generateGeneratorElement​(Generator generator)
      • generateSimpleElement

        protected org.jdom2.Element generateSimpleElement​(String name,
                                                          String value)