| org.outerj.daisy.frontend.editor.PartEditor
All known Subclasses: org.outerj.daisy.frontend.editor.PlainTextPartEditor, org.outerj.daisy.frontend.editor.VariablesPartEditor, org.outerj.daisy.frontend.editor.BookPartEditor, org.outerj.daisy.frontend.editor.BookAclPartEditor, org.outerj.daisy.frontend.editor.NonEditablePartEditor, org.outerj.daisy.frontend.editor.LiteralHtmlPartEditor, org.outerj.daisy.frontend.editor.UploadPartEditor, org.outerj.daisy.frontend.editor.BookMetadataPartEditor, org.outerj.daisy.frontend.editor.HtmlPartEditor, org.outerj.daisy.frontend.editor.BookPublicationTypesPartEditor, org.outerj.daisy.frontend.editor.NavigationPartEditor,
PartEditor | public interface PartEditor (Code) | | Interface to be implemented by part editors.
A PartEditor instance is instanciated through a
PartEditorFactory .
|
getFormTemplate | public String getFormTemplate()(Code) | | Returns the URI to the form template.
|
save | public void save(Form form, Document document) throws Exception(Code) | | Saves the part data (could be removing the part if the editor is empty).
Note: the form has an attribute called "partType" that contains the
org.outerj.daisy.repository.schema.PartType for which this editor serves. That way, you know which part this form represents.
|
|
|