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
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
_dataContextFields inherited from class org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler
_contentHandler, _context, _lexicalHandler, _manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, startElementMethods 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, startPrefixMappingMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
DocbookLocalMediaObjectEditionHandler
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classDocbookLocalMediaObjectEditionHandler- Throws:
ServiceException
-
getRichTextByUUIDURL
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
-