Liferay 6.2-ce-ga5

com.liferay.portlet.xslcontent.util
Class XSLContentUtil

java.lang.Object
  extended by com.liferay.portlet.xslcontent.util.XSLContentUtil

public class XSLContentUtil
extends Object


Field Summary
static String DEFAULT_XML_URL
           
static String DEFAULT_XSL_URL
           
 
Constructor Summary
XSLContentUtil()
           
 
Method Summary
protected static Source getXmlSource(DocumentBuilder documentBuilder, URL xmlUrl)
           
protected static Source getXslSource(DocumentBuilder documentBuilder, URL xslUrl)
           
static String replaceUrlTokens(ThemeDisplay themeDisplay, String url)
           
static String transform(URL xmlUrl, URL xslUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_XML_URL

public static final String DEFAULT_XML_URL
See Also:
Constant Field Values

DEFAULT_XSL_URL

public static final String DEFAULT_XSL_URL
See Also:
Constant Field Values
Constructor Detail

XSLContentUtil

public XSLContentUtil()
Method Detail

replaceUrlTokens

public static String replaceUrlTokens(ThemeDisplay themeDisplay,
                                      String url)

transform

public static String transform(URL xmlUrl,
                               URL xslUrl)
                        throws Exception
Throws:
Exception

getXmlSource

protected static Source getXmlSource(DocumentBuilder documentBuilder,
                                     URL xmlUrl)
                              throws Exception
Throws:
Exception

getXslSource

protected static Source getXslSource(DocumentBuilder documentBuilder,
                                     URL xslUrl)
                              throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5