Package org.ametys.cms.contenttype
Class DocbookRichTextUpdater
- java.lang.Object
-
- org.ametys.cms.contenttype.DocbookRichTextUpdater
-
- All Implemented Interfaces:
RichTextUpdater
,Serviceable
public class DocbookRichTextUpdater extends Object implements RichTextUpdater, Serviceable
Docbook implementation ofRichTextUpdater
Use theDocbookUpdateHandlerExtensionPoint
extension points to update rich text fields based upon a serie ofDockbookUpdateHandler
-
-
Field Summary
Fields Modifier and Type Field Description private DocbookUpdateHandlerExtensionPoint
_docbookUpdaterEP
static String
ROLE
Avalon role
-
Constructor Summary
Constructors Constructor Description DocbookRichTextUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentHandler
getContentHandler(ContentHandler ch, LexicalHandler lh, Map<String,Object> params)
This method returns the content handler to use to update the rich text after a copy of a contentvoid
service(ServiceManager smanager)
-
-
-
Field Detail
-
_docbookUpdaterEP
private DocbookUpdateHandlerExtensionPoint _docbookUpdaterEP
-
-
Constructor Detail
-
DocbookRichTextUpdater
public DocbookRichTextUpdater()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getContentHandler
public ContentHandler getContentHandler(ContentHandler ch, LexicalHandler lh, Map<String,Object> params)
Description copied from interface:RichTextUpdater
This method returns the content handler to use to update the rich text after a copy of a content- Specified by:
getContentHandler
in interfaceRichTextUpdater
- Parameters:
ch
- the content handler to sax intolh
- the lexical handlerparams
- parameters need by the content handler- Returns:
- the content handler
-
-