~ubuntu-branches/ubuntu/saucy/fop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/java/org/apache/fop/render/ImageHandler.java

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-05-21 12:21:26 UTC
  • mfrom: (15.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130521122126-3c9r5fo6ountjg6r
Tags: 1:1.1.dfsg-2ubuntu1
* Merge from Debian unstable.  Remaining changes:
  -  Transition libservlet2.5-java -> libservlet3.0-java.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * limitations under the License.
16
16
 */
17
17
 
18
 
/* $Id: ImageHandler.java 820672 2009-10-01 14:48:27Z jeremias $ */
 
18
/* $Id: ImageHandler.java 1357883 2012-07-05 20:29:53Z gadams $ */
19
19
 
20
20
package org.apache.fop.render;
21
21
 
23
23
import java.io.IOException;
24
24
 
25
25
import org.apache.xmlgraphics.image.loader.Image;
26
 
import org.apache.xmlgraphics.image.loader.impl.ImageXMLDOM;
27
26
 
28
27
/**
29
28
 * This interface is a service provider interface for image handlers.
34
33
     * Indicates whether the image handler is compatible with the indicated target represented
35
34
     * by the rendering context object and with the image to be processed. The image is also
36
35
     * passed as a parameter because a handler might not support every subtype of image that is
37
 
     * presented. For example: in the case of {@link ImageXMLDOM}, the image might carry an SVG
 
36
     * presented. For example: in the case of
 
37
     * {@link org.apache.xmlgraphics.image.loader.impl.ImageXMLDOM}, the image might carry an SVG
38
38
     * or some other XML format. One handler might only handle SVG but no other XML format.
39
39
     * @param targetContext the target rendering context
40
40
     * @param image the image to be processed (or null if only to check based on the rendering