public class DefaultBrokenLinkProvider extends BrokenLinkProvider
BROKEN_LINK_PROPERTY
Constructor and Description |
---|
DefaultBrokenLinkProvider() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatMessage(java.lang.Object base,
java.lang.String code,
java.lang.Object[] params) |
Filter |
getBrokenLinkImage(java.lang.Object base,
java.lang.String code,
java.lang.Object[] params)
This method is responsbile for constructing an image that will
represent the missing image in the document.
|
hasBrokenLinkProperty
public static java.lang.String formatMessage(java.lang.Object base, java.lang.String code, java.lang.Object[] params)
public Filter getBrokenLinkImage(java.lang.Object base, java.lang.String code, java.lang.Object[] params)
BrokenLinkProvider
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.getBrokenLinkImage
in class BrokenLinkProvider
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.Copyright © 2022 Apache Software Foundation. All Rights Reserved.