Public Member Functions | Public Attributes

nsIFeedProcessor Interface Reference

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

import "nsIFeedProcessor.idl";

Inheritance diagram for nsIFeedProcessor:
Collaboration diagram for nsIFeedProcessor:

List of all members.

Public Member Functions

void parseFromStream (in nsIInputStream stream, in nsIURI uri)
 Parse a feed from an nsIInputStream.
void parseFromString (in AString str, in nsIURI uri)
 Parse a feed from a string.
void parseAsync (in nsIRequestObserver requestObserver, in nsIURI uri)
 Parse a feed asynchronously.

Public Attributes

attribute nsIFeedResultListener listener
 The listener that will respond to feed events.

Detailed Description

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


Member Function Documentation

void nsIFeedProcessor::parseAsync ( in nsIRequestObserver  requestObserver,
in nsIURI  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.
void nsIFeedProcessor::parseFromStream ( in nsIInputStream  stream,
in nsIURI  uri 
)

Parse a feed from an nsIInputStream.

Parameters:
stream The input stream.
uri The base URI.
void nsIFeedProcessor::parseFromString ( in AString  str,
in nsIURI  uri 
)

Parse a feed from a string.

Parameters:
str The string to parse.
uri The base URI.

Member Data Documentation

The listener that will respond to feed events.


The documentation for this interface was generated from the following file: