Package org.ametys.web.editor
Class DocbookLocalMediaObjectEditionHandler
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler
-
- org.ametys.cms.transformation.htmledition.DocbookLocalMediaObjectEditionHandler
-
- org.ametys.web.editor.DocbookLocalMediaObjectEditionHandler
-
- All Implemented Interfaces:
Contextualizable,LogEnabled,Serviceable,ContentHandler,LexicalHandler
public class DocbookLocalMediaObjectEditionHandler extends DocbookLocalMediaObjectEditionHandler
Handler to enhance the rich text attachments. Add the content id and the data path to the local attachment's attribute
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.transformation.htmledition.DocbookLocalMediaObjectEditionHandler
_dataContext, _resolver
-
Fields inherited from class org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler
_contentHandler, _context, _lexicalHandler, _manager
-
-
Constructor Summary
Constructors Constructor Description DocbookLocalMediaObjectEditionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetRichTextByUUIDURL(String uuid)Retrieves the URL to retrieve a rich text attachment by its UUIDvoidservice(ServiceManager manager)-
Methods inherited from class org.ametys.cms.transformation.htmledition.DocbookLocalMediaObjectEditionHandler
startDocument, startElement
-
Methods inherited from class org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler
characters, comment, contextualize, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, setLexicalHandler, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
DocbookLocalMediaObjectEditionHandler
public DocbookLocalMediaObjectEditionHandler()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classDocbookLocalMediaObjectEditionHandler- Throws:
ServiceException
-
getRichTextByUUIDURL
protected String getRichTextByUUIDURL(String uuid)
Description copied from class:DocbookLocalMediaObjectEditionHandlerRetrieves the URL to retrieve a rich text attachment by its UUID- Overrides:
getRichTextByUUIDURLin classDocbookLocalMediaObjectEditionHandler- Parameters:
uuid- the UUID of the rich text's attachment- Returns:
- the URL to retrieve a rich text attachment by its UUID
-
-