com.opensymphony.webwork.views.xslt
Class ServletURIResolver
java.lang.Object
com.opensymphony.webwork.views.xslt.ServletURIResolver
- All Implemented Interfaces:
- URIResolver
public class ServletURIResolver
- extends Object
- implements URIResolver
ServletURIResolver is a URIResolver that can retrieve resources from the servlet context using the scheme "res".
e.g.
A URI resolver is called when a stylesheet uses an xsl:include, xsl:import, or document() function to find the
resource (file).
- Author:
- Philipp Meier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletURIResolver
public ServletURIResolver(ServletContext sc)
resolve
public Source resolve(String href,
String base)
throws TransformerException
- Specified by:
resolve
in interface URIResolver
- Throws:
TransformerException