public class XSLContentUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_XML_URL |
static java.lang.String |
DEFAULT_XSL_URL |
| Constructor and Description |
|---|
XSLContentUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static javax.xml.transform.Source |
getXmlSource(javax.xml.parsers.DocumentBuilder documentBuilder,
java.net.URL xmlUrl) |
protected static javax.xml.transform.Source |
getXslSource(javax.xml.parsers.DocumentBuilder documentBuilder,
java.net.URL xslUrl) |
static java.lang.String |
replaceUrlTokens(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.String url) |
static java.lang.String |
transform(java.net.URL xmlUrl,
java.net.URL xslUrl) |
public static final java.lang.String DEFAULT_XML_URL
public static final java.lang.String DEFAULT_XSL_URL
public static java.lang.String replaceUrlTokens(com.liferay.portal.theme.ThemeDisplay themeDisplay,
java.lang.String url)
public static java.lang.String transform(java.net.URL xmlUrl,
java.net.URL xslUrl)
throws java.lang.Exception
java.lang.Exceptionprotected static javax.xml.transform.Source getXmlSource(javax.xml.parsers.DocumentBuilder documentBuilder,
java.net.URL xmlUrl)
throws java.lang.Exception
java.lang.Exceptionprotected static javax.xml.transform.Source getXslSource(javax.xml.parsers.DocumentBuilder documentBuilder,
java.net.URL xslUrl)
throws java.lang.Exception
java.lang.Exception