T
- the type of values that are being displayed as HTML@Role public interface HTMLDisplayer<T>
T
.String display(Type type, T value) throws HTMLDisplayerException
type
- the actual type to use for the displayvalue
- the value to be displayedHTMLDisplayerException
- if an error occurs during the displayString display(Type type, T value, Map<String,String> parameters) throws HTMLDisplayerException
type
- the actual type to use for the displayvalue
- the value to be displayedparameters
- parameters used while generating the html. Could be the attributes of an input for instance.HTMLDisplayerException
- if an error occurs during the displayString display(Type type, T value, Map<String,String> parameters, String mode) throws HTMLDisplayerException
type
- the actual type to use for the displayvalue
- the value to be displayedparameters
- parameters used while generating the html. Could be the attributes of an input for instance.mode
- the display mode (view, edit, ...)HTMLDisplayerException
- if an error occurs during the displayCopyright © 2004–2020 XWiki. All rights reserved.