public class SVGBrokenLinkProvider extends DefaultBrokenLinkProvider implements ErrorConstants
BROKEN_LINK_PROPERTY
ERR_ATTRIBUTE_MISSING, ERR_ATTRIBUTE_VALUE_MALFORMED, ERR_CSS_LENGTH_NEGATIVE, ERR_CSS_URI_BAD_TARGET, ERR_LENGTH_NEGATIVE, ERR_URI_BAD_TARGET, ERR_URI_IMAGE_BROKEN, ERR_URI_IMAGE_INVALID, ERR_URI_IO, ERR_URI_MALFORMED, ERR_URI_REFERENCE_A_DOCUMENT, ERR_URI_UNSECURE, ERR_XLINK_HREF_CIRCULAR_DEPENDENCIES, URI_IMAGE_ERROR
Constructor and Description |
---|
SVGBrokenLinkProvider() |
Modifier and Type | Method and Description |
---|---|
Filter |
getBrokenLinkImage(java.lang.Object base,
java.lang.String code,
java.lang.Object[] params)
This method is responsible for constructing an image that will
represent the missing image in the document.
|
formatMessage
hasBrokenLinkProperty
public Filter getBrokenLinkImage(java.lang.Object base, java.lang.String code, java.lang.Object[] params)
getBrokenLinkImage
in class DefaultBrokenLinkProvider
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.base
- The object to use for Message decoding.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.