org.apache.myfaces.shared.renderkit.html.util
Class UnicodeEncoder

java.lang.Object
  extended by org.apache.myfaces.shared.renderkit.html.util.UnicodeEncoder

public abstract class UnicodeEncoder
extends java.lang.Object

Converts characters outside of latin-1 set in a string to numeric character references.


Constructor Summary
UnicodeEncoder()
           
 
Method Summary
static java.lang.String encode(java.lang.String string)
          Encodes the given string, so that it can be used within a html page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeEncoder

public UnicodeEncoder()
Method Detail

encode

public static java.lang.String encode(java.lang.String string)
Encodes the given string, so that it can be used within a html page.

Parameters:
string - the string to convert


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.