Class DefaultHrefEvaluator
java.lang.Object
com.atlassian.confluence.content.render.xhtml.links.DefaultHrefEvaluator
- All Implemented Interfaces:
- HrefEvaluator
An HrefEvaluator which knows how to generate href values for 
ConversionContextOutputType.DISPLAY
 and generates relative links for the browser.- 
Constructor SummaryConstructorsConstructorDescriptionDefaultHrefEvaluator(ContextPathHolder contextPathHolder, PermissionManager permissionManager) 
- 
Method SummaryModifier and TypeMethodDescriptioncreateHref(ConversionContext context, Object destination, String anchor) Create the appropriate href attribute value for the supplied ConversionContext.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.content.render.xhtml.links.HrefEvaluatorcreateHref, createHref, createHref, createHref, createHref, createHref, createHref
- 
Constructor Details- 
DefaultHrefEvaluatorpublic DefaultHrefEvaluator(ContextPathHolder contextPathHolder, PermissionManager permissionManager) - Since:
- 5.7.4
 
 
- 
- 
Method Details- 
createHrefDescription copied from interface:HrefEvaluatorCreate the appropriate href attribute value for the supplied ConversionContext.- Specified by:
- createHrefin interface- HrefEvaluator
- Parameters:
- context- the ConversionContext providing information about the conversion being performed, including the target output type e.g. display, pdf
- destination- the object
- anchor- 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.
 
 
-