nsIFeedProcessor
| IID: | 8a0b2908-21b0-45d7-b14d-30df0f92afc7 |
| Inherits From: | nsIStreamListener |
An nsIFeedProcessor parses feeds, triggering callbacks based on their contents.
This interface is implemented by the following components:
Properties
nsIFeedResultListener listener
The listener that will respond to feed events.
Methods
void parseAsync ( nsIRequestObserver requestObserver , nsIURI uri )
void parseFromStream ( nsIInputStream stream , nsIURI uri )
void parseFromString ( AString str , nsIURI uri )
void parseAsync ( nsIRequestObserver requestObserver , 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.
- Arguments:
- requestObserver: The observer to notify on start/stop. This argument can be null.
- uri: The base URI.
void parseFromStream ( nsIInputStream stream , nsIURI uri )
Parse a feed from an nsIInputStream.
- Arguments:
- stream: The input stream.
- uri: The base URI.
void parseFromString ( AString str , nsIURI uri )
Parse a feed from a string.
- Arguments:
- str: The string to parse.
- uri: The base URI.
Reference documentation is generated from Mozilla's source.
