Class CmsChangeHandlerConfig

java.lang.Object
org.opencms.xml.content.CmsChangeHandlerConfig

public class CmsChangeHandlerConfig extends Object
A configuration bean representing a <ChangeHandler> element configured in an XSD's field settings.
  • Constructor Details

    • CmsChangeHandlerConfig

      public CmsChangeHandlerConfig(String field, String className, String config)
      Creates a new instance.
      Parameters:
      field - the field name
      className - the handler class name
      config - the configuration string
  • Method Details

    • getClassName

      public String getClassName()
      Gets the class name for the handler.
      Returns:
      the class name
    • getConfig

      public String getConfig()
      Gets the configuration string for the handler.
      Returns:
      the configuration string
    • getField

      public String getField()
      Gets the field name for which the handler is configured.
      Returns:
      the field name for which the handler is configured
    • newHandler

      Creates a new handler instance using this configuration and the given scope.
      Parameters:
      scope - the scope
      Returns:
      the new handler instance