Class UnicodeEncoder
- java.lang.Object
- 
- org.apache.myfaces.renderkit.html.util.UnicodeEncoder
 
- 
 public abstract class UnicodeEncoder extends Object Converts characters outside of latin-1 set in a string to numeric character references.
- 
- 
Constructor SummaryConstructors Constructor Description UnicodeEncoder()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidencode(Writer writer, char[] cbuf, int off, int len)static voidencode(Writer writer, String string)static voidencode(Writer writer, String cbuf, int off, int len)static Stringencode(String string)Encodes the given string, so that it can be used within a html page.
 
- 
- 
- 
Method Detail- 
encodepublic static String encode(String string) Encodes the given string, so that it can be used within a html page.- Parameters:
- string- the string to convert
 
 - 
encodepublic static void encode(Writer writer, String string) throws IOException - Throws:
- IOException
 
 - 
encodepublic static void encode(Writer writer, char[] cbuf, int off, int len) throws IOException - Throws:
- IOException
 
 - 
encodepublic static void encode(Writer writer, String cbuf, int off, int len) throws IOException - Throws:
- IOException
 
 
- 
 
-