Class AtomFeed

  • All Implemented Interfaces:
    Feed

    public class AtomFeed
    extends AbstractFeed
    Deprecated.
    Use the Apache Sling Atom Tag Library instead.
    The AtomFeed class prints a resource as an Atom feed.
    • Method Detail

      • printHeader

        public void printHeader()
                         throws java.io.IOException
        Deprecated.
        Writes the feed header.
        Throws:
        java.io.IOException - If output fails
      • printEntry

        public void printEntry()
                        throws java.io.IOException
        Deprecated.
        Prints the current resource as a feed entry.
        Throws:
        java.io.IOException - If output fails
      • getContentType

        public java.lang.String getContentType()
        Deprecated.
        Returns the content type of the feed.
        Specified by:
        getContentType in interface Feed
        Overrides:
        getContentType in class AbstractFeed
        Returns:
        The type