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
public class WebDocbookUpdateHandler extends DefaultDocbookUpdateHandler
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
Constructors Constructor Description WebDocbookUpdateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getUpdatedAmetysObjectId(String id)
Return the updated ametys object id-
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
-
-
-
-
Constructor Detail
-
WebDocbookUpdateHandler
public WebDocbookUpdateHandler()
-
-
Method Detail
-
_getUpdatedAmetysObjectId
protected String _getUpdatedAmetysObjectId(String id)
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
-
-