public class RichMediaLinkRendererPreProcessor extends Object implements NoteMetadataRenderingPreProcessor
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_RICHMEDIA |
DEFAULT_ORDER
Constructor and Description |
---|
RichMediaLinkRendererPreProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
boolean |
process(NoteRenderContext context,
NoteData item)
Processes a note for a specific render context.
|
boolean |
supports(NoteRenderMode noteRenderMode)
Whether the processor supports a specific render mode.
|
public static final String PROPERTY_RICHMEDIA
public int getOrder()
getOrder
in interface Orderable
getOrder
in interface NoteMetadataRenderingPreProcessor
NoteMetadataRenderingPreProcessor.DEFAULT_ORDER
public boolean process(NoteRenderContext context, NoteData item)
process
in interface NoteMetadataRenderingPreProcessor
context
- holds details about the render context to allow specific processing in different
situationsitem
- the item to be processedpublic boolean supports(NoteRenderMode noteRenderMode)
supports
in interface NoteMetadataRenderingPreProcessor
noteRenderMode
- the note render mode, never nullCopyright © 2019 Communote team. All rights reserved.