Package org.ametys.cms.contenttype
Class HTMLRichTextUpdater
java.lang.Object
org.ametys.cms.contenttype.HTMLRichTextUpdater
- All Implemented Interfaces:
RichTextUpdater
,Serviceable
HTML implementation of
RichTextUpdater
Use the HTMLUpdateHandlerExtensionPoint
extension points to update rich text fields based upon a serie of HTMLUpdateHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContentHandler
(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 Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
HTMLRichTextUpdater
public HTMLRichTextUpdater()
-
-
Method Details
-
service
- 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
-