Liferay 6.0.5

com.liferay.portal.kernel.annotation
Annotation Type AutoEscape


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AutoEscape

Enables HTML auto escaping of strings returned by annotated methods when a bean is wrapped with AutoEscapeBeanHandler.

For a usage example, see UserModel.

See Also:
AutoEscapeBeanHandler


Liferay 6.0.5