|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.importexport.resolvers.ServletContextURIResolver
public class ServletContextURIResolver
Resolves 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 using org.apache.fop.servlet.ServletContextURIResolver
because this
implementation does not require a servletcontext: prefix on all URI's.
Constructor Summary | |
---|---|
ServletContextURIResolver()
|
Method Summary | |
---|---|
Source |
resolve(String href,
String base)
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletContextURIResolver()
Method Detail |
---|
public Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
TransformerException
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |