iMyth / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
1 stars 0 forks source link

ImageResourceLoader should be an interface or abstract class #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-303

It was reported by kschaefe on 04.01.2010 18:12:14 +0100 and last updated in 
the previous bug tracker on 04.01.2010 18:12:14 +0100

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Critical.

Original description: 
We already have our own background loading mechanism for images.  To ensure 
that our images (which may already be cached) are loaded correctly with the 
ImageResourceLoader, I have had to extend it and override every single method.  
I also had to ensure that I set the workers to 0 to prevent threads from 
spawning (threads should not be started in the constructor).

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:47

GoogleCodeExporter commented 9 years ago
UserAgentCallback.getImageResource() is already there - but due to 
http://code.google.com/p/flying-saucer/issues/detail?id=50 it is not used for 
<img> (only for css defined images afaics).

Original comment by alexande...@googlemail.com on 23 Oct 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Except that SwingReplacedElementFactory requires an ImageResourceLoader.  
That's where I am having the issue.

Original comment by karlgsch...@gmail.com on 23 Oct 2012 at 4:02