nsIFeedProcessor

An nsIFeedProcessor parses feeds, triggering callbacks based on
their contents.

Methods

parseFromStream(stream, uri)

Parse a feed from an nsIInputStream.

Parameters

stream The input stream.
uri The base URI.

parseFromString(str, uri)

Parse a feed from a string.

Parameters

str The string to parse.
uri The base URI.

parseAsync(requestObserver, uri)

Parse a feed asynchronously. The caller must then call the
nsIFeedProcessor’s nsIStreamListener methods to drive the
parse. Do not call the other parse methods during an asynchronous
parse.

Parameters

requestObserver The observer to notify on start/stop. This argument can be null.
uri The base URI.

Attributes

listener

The listener that will respond to feed events.