Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIRDFContentSink Class Reference

This interface represents a content sink for RDF files. More...

#include <nsIRDFContentSink.h>

Inheritance diagram for nsIRDFContentSink:
Inheritance graph
[legend]
Collaboration diagram for nsIRDFContentSink:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Init (nsIURI *aURL)=0
 Initialize the content sink.
NS_IMETHOD SetDataSource (nsIRDFDataSource *aDataSource)=0
 Set the content sink's RDF Data source.
NS_IMETHOD GetDataSource (nsIRDFDataSource *&rDataSource)=0
 Retrieve the content sink's RDF data source.
NS_IMETHOD WillBuildModel (void)=0
 This method gets called when the parser begins the process of building the content model via the content sink.
NS_IMETHOD DidBuildModel ()=0
 This method gets called when the parser concludes the process of building the content model via the content sink.
NS_IMETHOD WillInterrupt (void)=0
 This method gets called when the parser gets i/o blocked, and wants to notify the sink that it may be a while before more data is available.
NS_IMETHOD WillResume (void)=0
 This method gets called when the parser i/o gets unblocked, and we're about to start dumping content again to the sink.
NS_IMETHOD SetParser (nsIParser *aParser)=0
 This method gets called by the parser so that the content sink can retain a reference to the parser.
virtual void FlushPendingNotifications (mozFlushType aType)=0
 Flush content so that the content model is in sync with the state of the sink.
NS_IMETHOD SetDocumentCharset (nsACString &aCharset)=0
 Set the document character set.
virtual nsISupports * GetTarget ()=0
 Returns the target object (often a document object) into which the content built by this content sink is being added, if any (IOW, may return null).

Detailed Description

This interface represents a content sink for RDF files.

Definition at line 61 of file nsIRDFContentSink.h.


Member Function Documentation

NS_IMETHOD nsIContentSink::DidBuildModel ( ) [pure virtual, inherited]

This method gets called when the parser concludes the process of building the content model via the content sink.

5/7/98 gess

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, RobotSink, mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsXMLFragmentContentSink, nsHTMLFragmentContentSink, nsXMLContentSink, nsSAXXMLReader, nsLoadSaveContentSink, and nsLoggingSink.

Here is the caller graph for this function:

virtual void nsIContentSink::FlushPendingNotifications ( mozFlushType  aType) [pure virtual, inherited]

Flush content so that the content model is in sync with the state of the sink.

Parameters:
aTypethe type of flush to perform

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, mozSanitizingHTMLSerializer, RobotSink, nsPlainTextSerializer, nsHTMLFragmentContentSink, nsSAXXMLReader, nsXMLContentSink, nsLoadSaveContentSink, and nsLoggingSink.

NS_IMETHOD nsIRDFContentSink::GetDataSource ( nsIRDFDataSource *&  rDataSource) [pure virtual]

Retrieve the content sink's RDF data source.

Implemented in RDFContentSinkImpl.

virtual nsISupports* nsIContentSink::GetTarget ( ) [pure virtual, inherited]

Returns the target object (often a document object) into which the content built by this content sink is being added, if any (IOW, may return null).

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, mozSanitizingHTMLSerializer, RobotSink, nsPlainTextSerializer, nsSAXXMLReader, nsHTMLFragmentContentSink, nsXMLFragmentContentSink, nsXMLContentSink, and nsLoggingSink.

NS_IMETHOD nsIRDFContentSink::Init ( nsIURI aURL) [pure virtual]

Initialize the content sink.

Implemented in RDFContentSinkImpl.

Set the content sink's RDF Data source.

Implemented in RDFContentSinkImpl.

NS_IMETHOD nsIContentSink::SetDocumentCharset ( nsACString &  aCharset) [pure virtual, inherited]
NS_IMETHOD nsIContentSink::SetParser ( nsIParser aParser) [pure virtual, inherited]

This method gets called by the parser so that the content sink can retain a reference to the parser.

The expectation is that the content sink will drop the reference when it gets the DidBuildModel notification i.e. when parsing is done.

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, RobotSink, mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsHTMLFragmentContentSink, nsXMLContentSink, nsLoadSaveContentSink, nsSAXXMLReader, and nsLoggingSink.

Here is the caller graph for this function:

NS_IMETHOD nsIContentSink::WillBuildModel ( void  ) [pure virtual, inherited]

This method gets called when the parser begins the process of building the content model via the content sink.

5/7/98 gess

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, RobotSink, mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsXMLFragmentContentSink, nsHTMLFragmentContentSink, nsXMLContentSink, nsSAXXMLReader, nsLoadSaveContentSink, and nsLoggingSink.

Here is the caller graph for this function:

NS_IMETHOD nsIContentSink::WillInterrupt ( void  ) [pure virtual, inherited]

This method gets called when the parser gets i/o blocked, and wants to notify the sink that it may be a while before more data is available.

5/7/98 gess

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, RobotSink, mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsHTMLFragmentContentSink, nsXMLContentSink, nsSAXXMLReader, nsLoadSaveContentSink, and nsLoggingSink.

Here is the caller graph for this function:

NS_IMETHOD nsIContentSink::WillResume ( void  ) [pure virtual, inherited]

This method gets called when the parser i/o gets unblocked, and we're about to start dumping content again to the sink.

5/7/98 gess

Implemented in HTMLContentSink, RDFContentSinkImpl, XULContentSinkImpl, txStylesheetSink, RobotSink, mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsHTMLFragmentContentSink, nsXMLContentSink, nsSAXXMLReader, nsLoadSaveContentSink, and nsLoggingSink.

Here is the caller graph for this function:


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