Package org.xwiki.edit
Class AbstractTemplateEditor<D>
- java.lang.Object
-
- org.xwiki.edit.AbstractEditor<D>
-
- org.xwiki.edit.AbstractTemplateEditor<D>
-
- Type Parameters:
D
- the type of data that can be edited by this editor
- All Implemented Interfaces:
Editor<D>
public abstract class AbstractTemplateEditor<D> extends AbstractEditor<D>
Base class for editors that are based on a template.- Since:
- 8.2RC1
- Version:
- $Id: 7da6c1648f677fd3f62dcf891da4881728fc3f28 $
-
-
Constructor Summary
Constructors Constructor Description AbstractTemplateEditor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getTemplateName()
String
render()
-
Methods inherited from class org.xwiki.edit.AbstractEditor
getEditContext, render
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.edit.Editor
getDescriptor
-
-
-
-
Method Detail
-
getTemplateName
public abstract String getTemplateName()
- Returns:
- the path to the template that generates the HTML code that displays the editor
-
render
public String render() throws EditException
- Specified by:
render
in classAbstractEditor<D>
- Throws:
EditException
-
-