Package org.opencms.ade.contenteditor
Class A_CmsXmlContentEditorChangeHandler
java.lang.Object
org.opencms.ade.contenteditor.A_CmsXmlContentEditorChangeHandler
- All Implemented Interfaces:
I_CmsXmlContentEditorChangeHandler
- Direct Known Subclasses:
CmsDelayedDefaultChangeHandler,CmsEditorChangeHandlerFormatterSelection,CmsEditorChangeHandlerProperty
public abstract class A_CmsXmlContentEditorChangeHandler
extends Object
implements I_CmsXmlContentEditorChangeHandler
Abstract implementation of the content editor change handler.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the handler configuration.getScope()Returns the handler scope.resolveRelativePath(String source, String target) Resolves a relative content value path to an absolute one.voidsetConfiguration(String configuration) Sets the configuration.voidSets the scope to observe for changes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.xml.content.I_CmsXmlContentEditorChangeHandler
handleChange
-
Field Details
-
m_configuration
The configuration string. -
m_scope
The content field to watch for changes.
-
-
Constructor Details
-
A_CmsXmlContentEditorChangeHandler
public A_CmsXmlContentEditorChangeHandler()
-
-
Method Details
-
getConfiguration
Description copied from interface:I_CmsXmlContentEditorChangeHandlerReturns the handler configuration.- Specified by:
getConfigurationin interfaceI_CmsXmlContentEditorChangeHandler- Returns:
- the handler configuration
- See Also:
-
getScope
Description copied from interface:I_CmsXmlContentEditorChangeHandlerReturns the handler scope.- Specified by:
getScopein interfaceI_CmsXmlContentEditorChangeHandler- Returns:
- the handler scope
- See Also:
-
resolveRelativePath
Resolves a relative content value path to an absolute one.- Parameters:
source- the source pathtarget- the target path- Returns:
- the resolved path
-
setConfiguration
Description copied from interface:I_CmsXmlContentEditorChangeHandlerSets the configuration.- Specified by:
setConfigurationin interfaceI_CmsXmlContentEditorChangeHandler- Parameters:
configuration- the configuration- See Also:
-
setScope
Description copied from interface:I_CmsXmlContentEditorChangeHandlerSets the scope to observe for changes.With a scope set to '/link' all changes below the path /link will be observed.
- Specified by:
setScopein interfaceI_CmsXmlContentEditorChangeHandler- Parameters:
scope- the scope- See Also:
-