Interface HrefEvaluator
-
- All Known Implementing Classes:
AbsoluteHrefEvaluator
,DefaultHrefEvaluator
,HtmlExportHrefEvaluator
,OutputTypeAwareHrefEvaluator
public interface HrefEvaluator
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createHref(ConversionContext context, Object object, String anchor)
Create the appropriate href attribute value for the supplied ConversionContext.
-
-
-
Method Detail
-
createHref
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, 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.
-
-