com.xpn.xwiki.pdf.impl
Class PDFURIResolver

java.lang.Object
  extended by com.xpn.xwiki.pdf.impl.PDFURIResolver
All Implemented Interfaces:
URIResolver

public class PDFURIResolver
extends Object
implements URIResolver

Resolves URIs sent by Apache FOP to embed images in the exported PDF. The strategy is the following:

Since:
5.0RC1
Version:
$Id: e8b4b6d1e4081fd3ff040f47c83a603c94423d76 $

Constructor Summary
PDFURIResolver(XWikiContext context)
           
 
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
 

Constructor Detail

PDFURIResolver

public PDFURIResolver(XWikiContext context)
Parameters:
context - the XWiki Context from where we try to find the attachment map saved in the PdfURLFactory earlier on
Method Detail

resolve

public Source resolve(String href,
                      String base)
               throws TransformerException
Specified by:
resolve in interface URIResolver
Throws:
TransformerException


Copyright © 2004-2013 XWiki. All Rights Reserved.