public class JRSTUserAgent extends Object implements org.xhtmlrenderer.extend.UserAgentCallback
Modifier and Type | Field and Description |
---|---|
protected org.xhtmlrenderer.swing.NaiveUserAgent |
delegate |
protected static org.apache.commons.logging.Log |
log
to use log facility, just put in your code: log.info("...");
|
protected String |
path |
Constructor and Description |
---|
JRSTUserAgent(String path) |
Modifier and Type | Method and Description |
---|---|
protected org.xhtmlrenderer.resource.ImageResource |
createImageResource(String uri) |
String |
getBaseURL() |
byte[] |
getBinaryResource(String uri) |
org.xhtmlrenderer.resource.CSSResource |
getCSSResource(String uri) |
org.xhtmlrenderer.resource.ImageResource |
getImageResource(String uri) |
org.xhtmlrenderer.layout.SharedContext |
getSharedContext() |
org.xhtmlrenderer.resource.XMLResource |
getXMLResource(String uri) |
boolean |
isVisited(String uri) |
String |
resolveURI(String uri) |
void |
setBaseURL(String url) |
void |
setSharedContext(org.xhtmlrenderer.layout.SharedContext sharedContext) |
protected static org.apache.commons.logging.Log log
protected org.xhtmlrenderer.swing.NaiveUserAgent delegate
protected String path
public JRSTUserAgent(String path)
public org.xhtmlrenderer.resource.CSSResource getCSSResource(String uri)
getCSSResource
in interface org.xhtmlrenderer.extend.UserAgentCallback
public org.xhtmlrenderer.resource.ImageResource getImageResource(String uri)
getImageResource
in interface org.xhtmlrenderer.extend.UserAgentCallback
protected org.xhtmlrenderer.resource.ImageResource createImageResource(String uri)
public org.xhtmlrenderer.resource.XMLResource getXMLResource(String uri)
getXMLResource
in interface org.xhtmlrenderer.extend.UserAgentCallback
public byte[] getBinaryResource(String uri)
getBinaryResource
in interface org.xhtmlrenderer.extend.UserAgentCallback
public boolean isVisited(String uri)
isVisited
in interface org.xhtmlrenderer.extend.UserAgentCallback
public void setBaseURL(String url)
setBaseURL
in interface org.xhtmlrenderer.extend.UserAgentCallback
public String getBaseURL()
getBaseURL
in interface org.xhtmlrenderer.extend.UserAgentCallback
public String resolveURI(String uri)
resolveURI
in interface org.xhtmlrenderer.extend.UserAgentCallback
public org.xhtmlrenderer.layout.SharedContext getSharedContext()
public void setSharedContext(org.xhtmlrenderer.layout.SharedContext sharedContext)
Copyright © 2004–2014 CodeLutin. All rights reserved.