com.liferay.portal.kernel.util
Class HtmlEscapableObject<T>

java.lang.Object
  extended by com.liferay.portal.kernel.util.EscapableObject<T>
      extended by com.liferay.portal.kernel.util.HtmlEscapableObject<T>
All Implemented Interfaces:
java.io.Serializable

public class HtmlEscapableObject<T>
extends EscapableObject<T>

Author:
Jonathan Potter, Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
HtmlEscapableObject(T originalValue)
           
HtmlEscapableObject(T originalValue, boolean escape)
           
 
Method Summary
protected  java.lang.String escape(T t)
           
 
Methods inherited from class com.liferay.portal.kernel.util.EscapableObject
getEscapedValue, getOriginalValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlEscapableObject

public HtmlEscapableObject(T originalValue)

HtmlEscapableObject

public HtmlEscapableObject(T originalValue,
                           boolean escape)
Method Detail

escape

protected java.lang.String escape(T t)
Overrides:
escape in class EscapableObject<T>