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.

nsIEntityConverter

IID:D14C7111-55E0-11d3-91D9-00105AA3F7DC
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

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

Methods

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

PRUnichar* ConvertToEntities ( PRUnichar* inString , PRUint32 entityVersion )

Arguments:
inString
entityVersion

char* ConvertToEntity ( PRUnichar character , PRUint32 entityVersion )

Arguments:
character
entityVersion

char* ConvertUTF32ToEntity ( PRUint32 character , PRUint32 entityVersion )

Arguments:
character
entityVersion

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com