nsIAtom

IID:3d1b15b0-93b4-11d1-895b-006008911b81
Inherits From:nsISupports

Methods

PRBool equals ( AString string ) PRBool equalsUTF8 ( AUTF8String string ) [noscript] void getUTF8String ( out char* result ) AString toString ( ) AUTF8String toUTF8String ( )

PRBool equals ( AString string )

Compare the atom to a specific string value Note that this will NEVER return/throw an error condition.

Arguments:
string

PRBool equalsUTF8 ( AUTF8String string )

Arguments:
string

void getUTF8String ( out char* result )

Return a pointer to a zero terminated UTF8 string.

Arguments:
result

AString toString ( )

Get the Unicode or UTF8 value for the string


AUTF8String toUTF8String ( )


References

This interface is the type of the following properties:

nsIDocumentCharsetInfo.forcedCharset, nsIDocumentCharsetInfo.parentCharset, nsITreeColumn.atom

This interface is passed as an argument to the following methods:

nsIChangeObserver.AttributeChanged, nsIEditor.beginPlaceHolderTransaction, nsIFolderListener.OnItemBoolPropertyChanged, nsIFolderListener.OnItemEvent, nsIFolderListener.OnItemIntPropertyChanged, nsIFolderListener.OnItemPropertyChanged, nsIFolderListener.OnItemPropertyFlagChanged, nsIFolderListener.OnItemUnicharPropertyChanged, nsIHTMLEditor.addDefaultProperty, nsIHTMLEditor.getInlineProperty, nsIHTMLEditor.getInlinePropertyWithAttrValue, nsIHTMLEditor.removeDefaultProperty, nsIHTMLEditor.removeInlineProperty, nsIHTMLEditor.setCSSInlineProperty, nsIHTMLEditor.setInlineProperty, nsIMsgFolder.NotifyBoolPropertyChanged, nsIMsgFolder.NotifyFolderEvent, nsIMsgFolder.NotifyIntPropertyChanged, nsIMsgFolder.NotifyPropertyChanged, nsIMsgFolder.NotifyPropertyFlagChanged, nsIMsgFolder.NotifyUnicharPropertyChanged, nsIRDFXMLSerializer.addNameSpace, nsIXTFAttributeHandler.getAttribute, nsIXTFAttributeHandler.handlesAttribute, nsIXTFAttributeHandler.hasAttribute, nsIXTFAttributeHandler.removeAttribute, nsIXTFAttributeHandler.setAttribute, nsIXTFElement.attributeRemoved, nsIXTFElement.attributeSet, nsIXTFElement.willRemoveAttribute, nsIXTFElement.willSetAttribute, nsIXTFStyledElementWrapper.setClassAttributeName

This interface is returned from the following methods:

nsIAtomService.getAtom, nsIAtomService.getPermanentAtom, nsICharsetConverterManager.getCharsetLangGroup, nsICharsetConverterManager.getCharsetLangGroupRaw, nsIXTFAttributeHandler.getAttributeNameAt

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com