com.liferay.portal.kernel.util
Class EscapableObject<T>
java.lang.Object
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
EscapableObject
public EscapableObject(T originalValue)
EscapableObject
public EscapableObject(T originalValue,
boolean escape)
getEscapedValue
public String getEscapedValue()
getOriginalValue
public T getOriginalValue()
toString
public String toString()
- Overrides:
toString
in class Object
escape
protected String escape(T t)