Package org.opencms.xml.content
Enum CmsXmlContentPropertyHelper.JsonProperty
- java.lang.Object
-
- java.lang.Enum<CmsXmlContentPropertyHelper.JsonProperty>
-
- org.opencms.xml.content.CmsXmlContentPropertyHelper.JsonProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsXmlContentPropertyHelper.JsonProperty>
- Enclosing class:
- CmsXmlContentPropertyHelper
public static enum CmsXmlContentPropertyHelper.JsonProperty extends java.lang.Enum<CmsXmlContentPropertyHelper.JsonProperty>
Element Property json property constants.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description defaultValue
Property's default value.description
Property's description.error
Property's error message.niceName
Property's nice name.ruleRegex
Property's validation regular expression.ruleType
Property's validation rule type.type
Property's type.value
Property's value.widget
Property's widget.widgetConf
Property's widget configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsXmlContentPropertyHelper.JsonProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsXmlContentPropertyHelper.JsonProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
defaultValue
public static final CmsXmlContentPropertyHelper.JsonProperty defaultValue
Property's default value.
-
description
public static final CmsXmlContentPropertyHelper.JsonProperty description
Property's description.
-
error
public static final CmsXmlContentPropertyHelper.JsonProperty error
Property's error message.
-
niceName
public static final CmsXmlContentPropertyHelper.JsonProperty niceName
Property's nice name.
-
ruleRegex
public static final CmsXmlContentPropertyHelper.JsonProperty ruleRegex
Property's validation regular expression.
-
ruleType
public static final CmsXmlContentPropertyHelper.JsonProperty ruleType
Property's validation rule type.
-
type
public static final CmsXmlContentPropertyHelper.JsonProperty type
Property's type.
-
value
public static final CmsXmlContentPropertyHelper.JsonProperty value
Property's value.
-
widget
public static final CmsXmlContentPropertyHelper.JsonProperty widget
Property's widget.
-
widgetConf
public static final CmsXmlContentPropertyHelper.JsonProperty widgetConf
Property's widget configuration.
-
-
Method Detail
-
values
public static CmsXmlContentPropertyHelper.JsonProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CmsXmlContentPropertyHelper.JsonProperty c : CmsXmlContentPropertyHelper.JsonProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsXmlContentPropertyHelper.JsonProperty valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-