public abstract class BrokenLinkProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BROKEN_LINK_PROPERTY
The image returned by getBrokenLinkImage should always
return some value when queried for the BROKEN_LINK_PROPERTY.
|
Constructor and Description |
---|
BrokenLinkProvider() |
Modifier and Type | Method and Description |
---|---|
abstract Filter |
getBrokenLinkImage(Object base,
String code,
Object[] params)
This method is responsbile for constructing an image that will
represent the missing image in the document.
|
static boolean |
hasBrokenLinkProperty(Filter f) |
public static final String BROKEN_LINK_PROPERTY
public abstract Filter getBrokenLinkImage(Object base, String code, Object[] params)
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.base
- The object to use for Message decoding.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.public static boolean hasBrokenLinkProperty(Filter f)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.