Package org.opencms.util
Class CmsHtmlConverterOption
java.lang.Object
org.opencms.util.CmsHtmlConverterOption
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 Summary
ConstructorsConstructorDescriptionCmsHtmlConverterOption(String name, String className) Constructor, with parameters.CmsHtmlConverterOption(String name, String className, boolean isDefault) Constructor, with parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class used for HTML conversion of the configured option.getName()Returns the name of the configured option.booleanReturns if the option is an automatically generated default option.
-
Constructor Details
-
CmsHtmlConverterOption
Constructor, with parameters.- Parameters:
name- the name of the configured optionclassName- the class used for HTML conversion of the configured option
-
CmsHtmlConverterOption
Constructor, with parameters.- Parameters:
name- the name of the configured optionclassName- the class used for HTML conversion of the configured optionisDefault- the flag indicating if this is an automatically generated default option
-
-
Method Details
-
getClassName
Returns the class used for HTML conversion of the configured option.- Returns:
- the class used for HTML conversion of the configured option
-
getName
Returns the name of the configured option.- Returns:
- the name of the configured option
-
isDefault
Returns if the option is an automatically generated default option.- Returns:
trueif the option is an automatically generated default option, otherwisefalse
-