Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIParser Class Reference

#include <nsIParser.h>

Inheritance diagram for nsIParser:

nsISupports

List of all members.


Detailed Description

This class defines the iparser interface. This XPCOM inteface is all that parser clients ever need to see.

Definition at line 133 of file nsIParser.h.


Public Member Functions

NS_IMETHOD BuildModel (void)=0
NS_IMETHOD CancelParsingEvents ()=0
NS_IMETHOD ContinueInterruptedParsing ()=0
NS_IMETHOD ContinueParsing ()=0
NS_IMETHOD GetChannel (nsIChannel **aChannel)=0
NS_IMETHOD GetDTD (nsIDTD **aDTD)=0
 NS_IMETHOD_ (nsDTDMode) GetParseMode(void)=0
 NS_IMETHOD_ (void *) GetRootContextKey()=0
 NS_IMETHOD_ (PRBool) IsComplete()=0
 NS_IMETHOD_ (PRBool) IsParserEnabled()=0
 NS_IMETHOD_ (void) UnblockParser()=0
 NS_IMETHOD_ (void) BlockParser()=0
 NS_IMETHOD_ (void) SetParserFilter(nsIParserFilter *aFilter)=0
 NS_IMETHOD_ (void) GetDocumentCharset(nsACString &oCharset
 NS_IMETHOD_ (void) SetDocumentCharset(const nsACString &aCharset
 NS_IMETHOD_ (void) SetCommand(eParserCommands aParserCommand)=0
 NS_IMETHOD_ (void) SetCommand(const char *aCommand)=0
 NS_IMETHOD_ (void) GetCommand(nsCString &aCommand)=0
 NS_IMETHOD_ (nsIContentSink *) GetContentSink(void)=0
 NS_IMETHOD_ (void) SetContentSink(nsIContentSink *aSink)=0
NS_IMETHOD Parse (const nsAString &aSourceBuffer, void *aKey, const nsACString &aMimeType, PRBool aLastCall, nsDTDMode aMode=eDTDMode_autodetect)=0
NS_IMETHOD Parse (nsIURI *aURL, nsIRequestObserver *aListener=nsnull, void *aKey=0, nsDTDMode aMode=eDTDMode_autodetect)=0
NS_IMETHOD ParseFragment (const nsAString &aSourceBuffer, void *aKey, nsTArray< nsString > &aTagStack, PRBool aXMLMode, const nsACString &aContentType, nsDTDMode aMode=eDTDMode_autodetect)=0
virtual void Reset ()=0
NS_IMETHOD Terminate (void)=0
Methods
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

PRInt32 aSource = 0
PRInt32 & oSource = 0

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

Generated by  Doxygen 1.6.0   Back to index