Class ServletContextURIResolver
- java.lang.Object
-
- com.atlassian.confluence.importexport.resolvers.ServletContextURIResolver
-
- All Implemented Interfaces:
URIResolver,org.springframework.beans.factory.Aware,org.springframework.web.context.ServletContextAware
@Deprecated public class ServletContextURIResolver extends Object implements URIResolver, org.springframework.web.context.ServletContextAware
Deprecated.since 7.14 unusedResolves URI's against the ServletContext (which has access to resources starting from the web app root such as /images). We've decided to roll our own instead of usingorg.apache.fop.servlet.ServletContextURIResolverbecause this implementation does not require a servletcontext: prefix on all URI's.
-
-
Constructor Summary
Constructors Constructor Description ServletContextURIResolver()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Sourceresolve(String href, String base)Deprecated.voidsetServletContext(javax.servlet.ServletContext servletContext)Deprecated.
-
-
-
Method Detail
-
resolve
public Source resolve(String href, String base) throws TransformerException
Deprecated.- Specified by:
resolvein interfaceURIResolver- Returns:
- the source for this href if it can be found in the servlet context, else return null
- Throws:
TransformerException
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
Deprecated.- Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
-