public class DefaultHrefEvaluator extends Object implements HrefEvaluator
ConversionContextOutputType.DISPLAY
and generates relative links for the browser.Constructor and Description |
---|
DefaultHrefEvaluator(ContextPathHolder contextPathHolder)
Deprecated.
since 5.7.4
|
DefaultHrefEvaluator(ContextPathHolder contextPathHolder,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
String |
createHref(ConversionContext context,
Object destination,
String anchor)
Create the appropriate href attribute value for the supplied ConversionContext.
|
@Deprecated public DefaultHrefEvaluator(ContextPathHolder contextPathHolder)
public DefaultHrefEvaluator(ContextPathHolder contextPathHolder, PermissionManager permissionManager)
contextPathHolder
- permissionManager
- public String createHref(ConversionContext context, Object destination, String anchor)
HrefEvaluator
createHref
in interface HrefEvaluator
context
- the ConversionContext providing information about the conversion being performed, including the
target output type e.g. display, pdfdestination
- the objectanchor
- an option parameter specifying an anchor component for the href attribute. This may be null if
there is no destination anchor.ConversionContextOutputType} for the supported outputType
Copyright © 2003–2020 Atlassian. All rights reserved.