Liferay 6.2-ce-ga5

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

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

public class EscapableObject<T>
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

EscapableObject

public EscapableObject(T originalValue)

EscapableObject

public EscapableObject(T originalValue,
                       boolean escape)
Method Detail

getEscapedValue

public String getEscapedValue()

getOriginalValue

public T getOriginalValue()

toString

public String toString()
Overrides:
toString in class Object

escape

protected String escape(T t)

Liferay 6.2-ce-ga5