org.xhtmlrenderer.pdf
public class ITextUserAgent extends NaiveUserAgent
Constructor and Description |
---|
ITextUserAgent(ITextOutputDevice outputDevice) |
Modifier and Type | Method and Description |
---|---|
ImageResource |
getImageResource(java.lang.String uri)
Retrieves the image located at the given URI.
|
SharedContext |
getSharedContext() |
void |
setSharedContext(SharedContext sharedContext) |
clearImageCache, documentLoaded, documentStarted, getBaseURL, getBinaryResource, getCSSResource, getXMLResource, isVisited, onLayoutException, onRenderException, resolveURI, setBaseURL, shrinkImageCache
public ITextUserAgent(ITextOutputDevice outputDevice)
public ImageResource getImageResource(java.lang.String uri)
NaiveUserAgent
getImageResource
in interface UserAgentCallback
getImageResource
in class NaiveUserAgent
uri
- Location of the image source.public SharedContext getSharedContext()
public void setSharedContext(SharedContext sharedContext)