input is a URL (strictly speaking, URI), typically from an HTML attribute.
As translation is simply delegated to {@link ReplayParseContext} passed to{@link #transform} method, this class is merely a holderof flags
value representing a type of context pointed resource is used. This is necessary because StringTransformer interface does not allow for communicating this information to {@link ReplayParseContext#contextualizeUrl(String,String)}.
It delegates translation to {@code jsTransformer} if given stringis javascript:
. This is used by FastArchivalUrlRelayParserEventHandler for rewriting HREF attributes.
Possible Refactoring:
|
|