Class CmsHtmlConverterOption

java.lang.Object
org.opencms.util.CmsHtmlConverterOption

public class CmsHtmlConverterOption extends Object
Represents a single HTML converter configuration as defined in the OpenCms configuration file opencms-vfs.xml.

This is only used to write back the definitions to the configuration file.

  • Constructor Details

    • CmsHtmlConverterOption

      public CmsHtmlConverterOption(String name, String className)
      Constructor, with parameters.

      Parameters:
      name - the name of the configured option
      className - the class used for HTML conversion of the configured option
    • CmsHtmlConverterOption

      public CmsHtmlConverterOption(String name, String className, boolean isDefault)
      Constructor, with parameters.

      Parameters:
      name - the name of the configured option
      className - the class used for HTML conversion of the configured option
      isDefault - the flag indicating if this is an automatically generated default option
  • Method Details

    • getClassName

      public String getClassName()
      Returns the class used for HTML conversion of the configured option.

      Returns:
      the class used for HTML conversion of the configured option
    • getName

      public String getName()
      Returns the name of the configured option.

      Returns:
      the name of the configured option
    • isDefault

      public boolean isDefault()
      Returns if the option is an automatically generated default option.

      Returns:
      true if the option is an automatically generated default option, otherwise false