D - the type of data that can be edited by this editor@Role
@Unstable
public interface Editor<D>
| Modifier and Type | Method and Description |
|---|---|
EditorDescriptor |
getDescriptor() |
String |
render(D data,
Map<String,Object> parameters)
Generates the HTML code needed to edit the given data.
|
EditorDescriptor getDescriptor()
String render(D data, Map<String,Object> parameters) throws EditException
data - the data to editparameters - editor parametersEditException - if the editor fails to be renderedCopyright © 2004–2017 XWiki. All rights reserved.