Package com.axemble.vdoc.sdk.interfaces
Interface IViewerConverterStrategy<T>
- Type Parameters:
- T- the convert strategy result type
- All Known Implementing Classes:
- AbstractConverterStrategy
public interface IViewerConverterStrategy<T>
Convert to renderable widget
- 
Method Details- 
startstart the conversion- Returns:
- the future result
- Throws:
- ViewerConversionException- throw if conversion can't start
 
- 
toWidgetIWidget toWidget()build the display strategy- Returns:
- the display widget
 
- 
onSuccessCalled when the conversion succeed- Parameters:
- result- the conversion result
 
- 
onExceptionCalles when the conversion fails- Parameters:
- e- the fail exception
 
- 
getWaitingMessageTranslationKeyString getWaitingMessageTranslationKey()Called before conversion to display a waiting message to the user
 
-