Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.views.xslt
Class ServletURIResolver

    java.lang.Object
      org.apache.struts2.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 "response". e.g. A URI resolver is called when a stylesheet uses an xsl:include, xsl:import, or document() function to find the resource (file).

Field Summary
`private Log` | `log`
`(package private) static String` | `PROTOCOL`
`private ServletContext` | `sc`

Constructor Summary
`ServletURIResolver(ServletContext sc)`

Method Summary
`Source` | `resolve(String href, String base)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    private Log log

### PROTOCOL

    static final String PROTOCOL

See Also:
  Constant Field Values

### sc

    private ServletContext sc

Constructor Detail

### ServletURIResolver

    public ServletURIResolver(ServletContext sc)

Method Detail

### resolve

    public Source resolve(String href,
                          String base)
                   throws TransformerException

  Specified by:
    `resolve` in interface `URIResolver`
  Throws:
    `TransformerException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.