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.

@mozilla.org/intl/entityconverter;1

This component implements the following interfaces:

Constants

PRUint32 nsIEntityConverter.entityNone = 0
PRUint32 nsIEntityConverter.html40Latin1 = 1
PRUint32 nsIEntityConverter.html40Symbols = 2
PRUint32 nsIEntityConverter.html40Special = 4
PRUint32 nsIEntityConverter.transliterate = 8
PRUint32 nsIEntityConverter.mathml20 = 16
PRUint32 nsIEntityConverter.html32 = 1
PRUint32 nsIEntityConverter.html40 = 7
PRUint32 nsIEntityConverter.entityW3C = 23

Methods

InterfaceMethod
nsIEntityConverter PRUnichar* ConvertToEntities ( PRUnichar* inString , PRUint32 entityVersion )
nsIEntityConverter char* ConvertToEntity ( PRUnichar character , PRUint32 entityVersion )
nsIEntityConverter char* ConvertUTF32ToEntity ( PRUint32 character , PRUint32 entityVersion )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com