Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsXMLEncodingObserver.cpp File Reference
#include "nsICharsetAlias.h"
#include "nsXMLEncodingObserver.h"
#include "nsIXMLEncodingService.h"
#include "nsIElementObserver.h"
#include "nsIObserver.h"
#include "nsIObserverService.h"
#include "nsISupports.h"
#include "nsCRT.h"
#include "nsIParser.h"
#include "pratom.h"
#include "nsCharDetDll.h"
#include "nsIServiceManager.h"
#include "nsObserverBase.h"
#include "nsWeakReference.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"

Go to the source code of this file.

Functions

static NS_DEFINE_CID (kCharsetAliasCID, NS_CHARSETALIAS_CID)
 NS_IMPL_QUERY_INTERFACE4 (nsXMLEncodingObserver, nsIElementObserver, nsIObserver, nsIXMLEncodingService, nsISupportsWeakReference) NS_IMETHODIMP nsXMLEncodingObserver

Variables

static const eHTMLTags gTags []

Function Documentation

static NS_DEFINE_CID ( kCharsetAliasCID  ,
NS_CHARSETALIAS_CID   
) [static]

Definition at line 81 of file nsXMLEncodingObserver.cpp.

{
    if(!nsDependentString(aTag).LowerCaseEqualsLiteral("?xml")) 
        return NS_ERROR_ILLEGAL_VALUE;
    else
        return Notify(aDocumentID, numOfAttributes, nameArray, valueArray);
}

Variable Documentation

const eHTMLTags gTags[] [static]
Initial value:
 
{ eHTMLTag_instruction,
  eHTMLTag_unknown
}

Definition at line 57 of file nsXMLEncodingObserver.cpp.