Class AbsoluteHrefEvaluator
java.lang.Object
com.atlassian.confluence.content.render.xhtml.links.AbsoluteHrefEvaluator
- All Implemented Interfaces:
HrefEvaluator
Produces absolute URL's / HREF's for the specified object.
-
Constructor Summary
ConstructorsConstructorDescriptionAbsoluteHrefEvaluator
(HrefEvaluator defaulHrefEvaluator, SettingsManager settingsManager, ContextPathHolder contextPathHolder) -
Method Summary
Modifier and TypeMethodDescriptioncreateHref
(ConversionContext context, Object object, String anchor) Create the appropriate href attribute value for the supplied ConversionContext.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.content.render.xhtml.links.HrefEvaluator
createHref, createHref, createHref, createHref, createHref, createHref, createHref
-
Constructor Details
-
AbsoluteHrefEvaluator
public AbsoluteHrefEvaluator(HrefEvaluator defaulHrefEvaluator, SettingsManager settingsManager, ContextPathHolder contextPathHolder)
-
-
Method Details
-
createHref
Description copied from interface:HrefEvaluator
Create the appropriate href attribute value for the supplied ConversionContext.- Specified by:
createHref
in interfaceHrefEvaluator
- Parameters:
context
- the ConversionContext providing information about the conversion being performed, including the target output type e.g. display, pdfobject
- the objectanchor
- an option parameter specifying an anchor component for the href attribute. This may be null if there is no destination anchor.- Returns:
- the attribute value appropriate for the outputType specified.
-