org.opencms.xml.content
Enum CmsXmlContentPropertyHelper.JsonProperty

java.lang.Object
  extended by java.lang.Enum<CmsXmlContentPropertyHelper.JsonProperty>
      extended by org.opencms.xml.content.CmsXmlContentPropertyHelper.JsonProperty
All Implemented Interfaces:
Serializable, Comparable<CmsXmlContentPropertyHelper.JsonProperty>
Enclosing class:
CmsXmlContentPropertyHelper

public static enum CmsXmlContentPropertyHelper.JsonProperty
extends Enum<CmsXmlContentPropertyHelper.JsonProperty>

Element Property json property constants.


Enum Constant Summary
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
static CmsXmlContentPropertyHelper.JsonProperty valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null