public class HtmlExportHrefEvaluator extends Object implements HrefEvaluator
Constructor and Description |
---|
HtmlExportHrefEvaluator(HrefEvaluator defaultHrefEvaluator,
HrefEvaluator absoluteHrefEvaluator) |
Modifier and Type | Method and Description |
---|---|
String |
createHref(ConversionContext context,
Attachment attachment,
String anchor) |
String |
createHref(ConversionContext context,
Object entity,
String anchor)
Attachments and Pages may well exist in the export so look for them as a special case.
|
String |
createHref(ConversionContext context,
Page page,
String anchor) |
String |
createHref(ConversionContext context,
WebLink link,
String anchor) |
public HtmlExportHrefEvaluator(HrefEvaluator defaultHrefEvaluator, HrefEvaluator absoluteHrefEvaluator)
public String createHref(ConversionContext context, Object entity, String anchor)
createHref
in interface HrefEvaluator
context
- the ConversionContext providing information about the conversion being performed, including the
target output type e.g. display, pdfentity
- 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
public String createHref(ConversionContext context, Page page, String anchor)
public String createHref(ConversionContext context, Attachment attachment, String anchor)
public String createHref(ConversionContext context, WebLink link, String anchor)
Copyright © 2003–2015 Atlassian. All rights reserved.