org.kuali.rice.ken.util
Class XslSourceResolver

java.lang.Object
  extended by org.kuali.rice.ken.util.XslSourceResolver

public class XslSourceResolver
extends Object

This class is responsible for resolving Xsl from files and Strings.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  org.apache.log4j.Logger LOG
           
 
Constructor Summary
XslSourceResolver()
          Constructs a XslSourceResolver.java.
 
Method Summary
 StreamSource resolveXslFromFile(String path)
          This method resolves xsl from a file
 StreamSource resolveXslFromString(String s)
          This method resolves xsl from a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.log4j.Logger LOG
Constructor Detail

XslSourceResolver

public XslSourceResolver()
Constructs a XslSourceResolver.java.

Method Detail

resolveXslFromFile

public StreamSource resolveXslFromFile(String path)
This method resolves xsl from a file

Parameters:
path - location of xsl file
Returns:
a StreamSource

resolveXslFromString

public StreamSource resolveXslFromString(String s)
This method resolves xsl from a string

Parameters:
path - location of xsl file
Returns:
a StreamSource


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.