Class WebDocbookUpdateHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.contenttype.DockbookUpdateHandler
org.ametys.cms.contenttype.DefaultDocbookUpdateHandler
org.ametys.web.repository.content.WebDocbookUpdateHandler
- All Implemented Interfaces:
LogEnabled
,Serviceable
,ContentHandler
,LexicalHandler
This handler look for links, images or video url which make reference to a AmetysObject (content, page, resources, ...) in a RichText.
It must be used after a copy of a Content to changes theses references if necessary.
-
Field Summary
Fields inherited from class org.ametys.cms.contenttype.DefaultDocbookUpdateHandler
_resolver
Fields inherited from class org.ametys.cms.contenttype.DockbookUpdateHandler
_contentHandler, _createdContent, _createdObject, _initialAOPath, _initialContent, _initialContentPath, _initialObject, _lexicalHandler
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.cms.contenttype.DefaultDocbookUpdateHandler
_copyAttributes, _getAttributesForLink, _getAttributesForMediaObject, service, startElement
Methods inherited from class org.ametys.cms.contenttype.DockbookUpdateHandler
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setCreatedContent, setCreatedObject, setDocumentLocator, setInitialContent, setInitialObject, setLexicalHandler, skippedEntity, startCDATA, startDocument, 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
-
WebDocbookUpdateHandler
public WebDocbookUpdateHandler()
-
-
Method Details
-
_getUpdatedAmetysObjectId
Description copied from class:DefaultDocbookUpdateHandler
Return the updated ametys object id- Overrides:
_getUpdatedAmetysObjectId
in classDefaultDocbookUpdateHandler
- Parameters:
id
- the id to update- Returns:
- the updated id
-