WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

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:

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, nsIXTFElementWrapper.setClassAttributeName, nsIXULTemplateBuilder.hasGeneratedContent, nsIXULTemplateQueryProcessor.addBinding, nsIXULTemplateQueryProcessor.compareResults, nsIXULTemplateQueryProcessor.compileQuery, nsIXULTemplateResult.getBindingFor, nsIXULTemplateResult.getBindingObjectFor

This interface is returned from the following methods:

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

Reference documentation is generated from Mozilla's source.