public class AppendFileHotspotConversion extends Object implements IRichTextConversion
| Constructor and Description |
|---|
AppendFileHotspotConversion(Attachment att,
String fileNameToDisplay)
Creates a new instance
|
AppendFileHotspotConversion(String attachmentProgrammaticName,
String fileNameToDisplay)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(List<RichTextRecord<?>> source,
RichTextWriter target)
Method to do the actual conversion, e.g.
|
boolean |
isMatch(List<RichTextRecord<?>> nav)
Method to check whether the rich text item actually requires a conversion
|
void |
richTextNavigationEnd()
Method is called when the rich text navigation is done
|
void |
richTextNavigationStart()
Method is called before starting the CD record traversal.
|
public AppendFileHotspotConversion(String attachmentProgrammaticName, String fileNameToDisplay)
attachmentProgrammaticName - name returned by Attachment.getFileName()fileNameToDisplay - filename to display below the file icon, not necessarily the same as Attachment.getFileName()public AppendFileHotspotConversion(Attachment att, String fileNameToDisplay)
att - attachment to add an icon forfileNameToDisplay - filename to display below the file icon, not necessarily the same as Attachment.getFileName()public void richTextNavigationStart()
IRichTextConversionrichTextNavigationStart in interface IRichTextConversionpublic void richTextNavigationEnd()
IRichTextConversionrichTextNavigationEnd in interface IRichTextConversionpublic boolean isMatch(List<RichTextRecord<?>> nav)
IRichTextConversionisMatch in interface IRichTextConversionnav - rich text navigatorpublic void convert(List<RichTextRecord<?>> source, RichTextWriter target)
IRichTextConversionRichTextRecord list and writing the resulting output to the target.convert in interface IRichTextConversionsource - source rich text navigatortarget - target to write conversion resultCopyright © 2019–2021 HCL. All rights reserved.