Example usage for com.liferay.portal.kernel.util ContentTypes XHTML_MP

List of usage examples for com.liferay.portal.kernel.util ContentTypes XHTML_MP

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util ContentTypes XHTML_MP.

Prototype

String XHTML_MP

To view the source code for com.liferay.portal.kernel.util ContentTypes XHTML_MP.

Click Source Link

Usage

From source file:com.liferay.portlet.PortletRequestImpl.java

License:Open Source License

public String getResponseContentType() {
    if (_wapTheme) {
        return ContentTypes.XHTML_MP;
    } else {/*from  ww w.  j  av  a  2 s.  c o m*/
        return ContentTypes.TEXT_HTML;
    }
}