org.apache.batik.bridge

Class SVGBrokenLinkProvider

public class SVGBrokenLinkProvider extends DefaultBrokenLinkProvider implements ErrorConstants

This interface is to be used to provide alternate ways of generating a placeholder image when the ImageTagRegistry fails to handle a given reference.
Constructor Summary
SVGBrokenLinkProvider()
Method Summary
FiltergetBrokenLinkImage(Object base, String code, Object[] params)
This method is responsible for constructing an image that will represent the missing image in the document.

Constructor Detail

SVGBrokenLinkProvider

public SVGBrokenLinkProvider()

Method Detail

getBrokenLinkImage

public Filter getBrokenLinkImage(Object base, String code, Object[] params)
This method is responsible for constructing an image that will represent the missing image in the document. This method recives information about the reason a broken link image is being requested in the code and params parameters. These parameters may be used to generate nicely localized messages for insertion into the broken link image, or for selecting the broken link image returned.

Parameters: code This is the reason the image is unavailable should be taken from ErrorConstants. params This is more detailed information about the circumstances of the failure.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.