Package org.xwiki.edit
Class AbstractEditor<D>
java.lang.Object
org.xwiki.edit.AbstractEditor<D>
- Type Parameters:
D
- the type of data that can be edited by this editor
- All Implemented Interfaces:
Editor<D>
- Direct Known Subclasses:
AbstractTemplateEditor
Base class for editors that take their input from the
ScriptContext
.- Since:
- 8.2RC1
- Version:
- $Id: 2494760104d40ac51376231da6263ebee1eaf88d $
-
Constructor Details
-
AbstractEditor
public AbstractEditor()
-
-
Method Details
-
render
Description copied from interface:Editor
Generates the HTML code needed to edit the given data.- Specified by:
render
in interfaceEditor<D>
- Parameters:
data
- the data to editparameters
- editor parameters- Returns:
- the HTML code that displays the editor
- Throws:
EditException
- if the editor fails to be rendered
-
getEditContext
-
render
- Throws:
EditException
-