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
_resolverFields inherited from class org.ametys.cms.contenttype.DockbookUpdateHandler
_contentHandler, _createdContent, _createdObject, _initialAOPath, _initialContent, _initialContentPath, _initialObject, _lexicalHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.cms.contenttype.DefaultDocbookUpdateHandler
_copyAttributes, _getAttributesForLink, _getAttributesForMediaObject, service, startElementMethods 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, 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
-
WebDocbookUpdateHandler
public WebDocbookUpdateHandler()
-
-
Method Details
-
_getUpdatedAmetysObjectId
Description copied from class:DefaultDocbookUpdateHandlerReturn the updated ametys object id- Overrides:
_getUpdatedAmetysObjectIdin classDefaultDocbookUpdateHandler- Parameters:
id- the id to update- Returns:
- the updated id
-