Feed.java 1.49 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.apache.sling.api.resource.Resource
 */
package com.day.cq.commons.feed;

import java.io.IOException;
import java.util.Iterator;
import org.apache.sling.api.resource.Resource;

public interface Feed {
    public static final String DEFAULT_CONTENT_TYPE = "text/xml";
    public static final String DEFAULT_CHARACTER_ENCODING = "utf-8";
    public static final String SELECTOR_FEED = "feed";
    public static final String SELECTOR_FEEDENTRY = "feedentry";
    public static final String SELECTOR_ATOM = "atom";
    public static final String SELECTOR_RSS = "rss";
    public static final String SUFFIX_HTML = ".html";
    public static final String SUFFIX_XML = ".xml";
    public static final String SUFFIX_FEED = ".feed.xml";
    public static final String SUFFIX_FEEDENTRY = ".feedentry.xml";
    public static final String SUFFIX_COMMENTS = ".html#comments";

    public String getContentType();

    public String getCharacterEncoding();

    public void printHeader() throws IOException;

    public void printEntry() throws IOException;

    public void printEntry(Resource var1) throws IOException;

    public void printChildEntries() throws IOException;

    public void printChildEntries(int var1) throws IOException;

    public void printEntries(Iterator<Resource> var1) throws IOException;

    public void printEntries(Iterator<Resource> var1, int var2) throws IOException;

    public void printFooter() throws IOException;
}