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
_dataContext, _resolver
Fields inherited from class org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler
_contentHandler, _context, _lexicalHandler, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getRichTextByUUIDURL
(String uuid) Retrieves the URL to retrieve a rich text attachment by its UUIDvoid
service
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
DocbookLocalMediaObjectEditionHandler
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classDocbookLocalMediaObjectEditionHandler
- Throws:
ServiceException
-
getRichTextByUUIDURL
Description copied from class:DocbookLocalMediaObjectEditionHandler
Retrieves the URL to retrieve a rich text attachment by its UUID- Overrides:
getRichTextByUUIDURL
in classDocbookLocalMediaObjectEditionHandler
- Parameters:
uuid
- the UUID of the rich text's attachment- Returns:
- the URL to retrieve a rich text attachment by its UUID
-