public interface RequestRewriter
RequestRewriter interface defines an optional
service which is used to rewrite attributes.| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.Attributes |
rewrite(java.lang.String elementName,
org.xml.sax.Attributes attributes,
LinkCheckerSettings settings)
This method rewrites attributes of an element.
|
java.lang.String |
rewriteLink(Link link,
LinkCheckerSettings settings)
Rewrite a link and create the external representation.
|
org.xml.sax.Attributes rewrite(java.lang.String elementName,
org.xml.sax.Attributes attributes,
LinkCheckerSettings settings)
null.
The attributes might be rewritten again by the default link
rewriter after they have been rewritten by this service.
This method is invoked before the actual link checking takes
place; it should therefore not map the links from internal
to external representation. That should be done with the
rewriteLink(Link, LinkCheckerSettings) method.elementName - the element nameattributes - the attributes of the elementsettings - The settingsnulljava.lang.String rewriteLink(Link link, LinkCheckerSettings settings)
null.
In this case the default rewriter might rewrite the link.link - The linksettings - The settingsnullCopyright © 2010 - 2023 Adobe. All Rights Reserved