Package org.ametys.cms.contenttype
Class HTMLRichTextUpdater
- java.lang.Object
-
- org.ametys.cms.contenttype.HTMLRichTextUpdater
-
- All Implemented Interfaces:
RichTextUpdater
,Serviceable
public class HTMLRichTextUpdater extends Object implements RichTextUpdater, Serviceable
HTML implementation ofRichTextUpdater
Use theHTMLUpdateHandlerExtensionPoint
extension points to update rich text fields based upon a serie ofHTMLUpdateHandler
-
-
Field Summary
Fields Modifier and Type Field Description private HTMLUpdateHandlerExtensionPoint
_htmlUpdaterEP
static String
ROLE
Avalon role.
-
Constructor Summary
Constructors Constructor Description HTMLRichTextUpdater()
-
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
-
_htmlUpdaterEP
private HTMLUpdateHandlerExtensionPoint _htmlUpdaterEP
-
-
Constructor Detail
-
HTMLRichTextUpdater
public HTMLRichTextUpdater()
-
-
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
-
-