| Methods |
| Classes and Modules |
| Public Class methods |
| encode(str) |
Returns string with entities replaced.
| replaceCharacterRefs(str) |
Returns a new string with all of the NNN; and xXXX; character refs replaced by the characters they represent.
| replacePredefinedEntityRefs(str) |
Returns a new string with all of the special character refs (for example, & and <) replaced by the characters they represent.