public interface

HrefEvaluator

com.atlassian.confluence.content.render.xhtml.links.HrefEvaluator
Known Indirect Subclasses

Class Overview

The marshalling of links involves creating the actual href attribute describing the destination of the link. This interface describes a class that will create the appropriate href value based on the ConversionContext.

Summary

Public Methods
String createHref(ConversionContext context, Object object, String anchor)
Create the appropriate href attribute value for the supplied ConversionContext.

Public Methods

public String createHref (ConversionContext context, Object object, String anchor)

Create the appropriate href attribute value for the supplied ConversionContext.

Parameters
context the ConversionContext providing information about the conversion being performed, including the target output type e.g. display, pdf
object 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.
See Also
  • {@link ConversionContextOutputType} for the supported outputType