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
-
Constructor Summary
-
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.void
setConfiguration
(String configuration) Sets the configuration.void
Sets the scope to observe for changes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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_CmsXmlContentEditorChangeHandler
Returns the handler configuration.- Specified by:
getConfiguration
in interfaceI_CmsXmlContentEditorChangeHandler
- Returns:
- the handler configuration
- See Also:
-
getScope
Description copied from interface:I_CmsXmlContentEditorChangeHandler
Returns the handler scope.- Specified by:
getScope
in 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_CmsXmlContentEditorChangeHandler
Sets the configuration.- Specified by:
setConfiguration
in interfaceI_CmsXmlContentEditorChangeHandler
- Parameters:
configuration
- the configuration- See Also:
-
setScope
Description copied from interface:I_CmsXmlContentEditorChangeHandler
Sets the scope to observe for changes.With a scope set to '/link' all changes below the path /link will be observed.
- Specified by:
setScope
in interfaceI_CmsXmlContentEditorChangeHandler
- Parameters:
scope
- the scope- See Also:
-