public static enum CmsXmlContentDefinition.SequenceType extends java.lang.Enum<CmsXmlContentDefinition.SequenceType>
枚举常量和说明 |
---|
MULTIPLE_CHOICE
A
xsd:choice where the choice elements can appear more than once in a mix. |
SEQUENCE
A simple
xsd:sequence . |
SINGLE_CHOICE
A
xsd:choice where only one choice element can be selected. |
限定符和类型 | 方法和说明 |
---|---|
static CmsXmlContentDefinition.SequenceType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CmsXmlContentDefinition.SequenceType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CmsXmlContentDefinition.SequenceType MULTIPLE_CHOICE
xsd:choice
where the choice elements can appear more than once in a mix.public static final CmsXmlContentDefinition.SequenceType SEQUENCE
xsd:sequence
.public static final CmsXmlContentDefinition.SequenceType SINGLE_CHOICE
xsd:choice
where only one choice element can be selected.public static CmsXmlContentDefinition.SequenceType[] values()
for (CmsXmlContentDefinition.SequenceType c : CmsXmlContentDefinition.SequenceType.values()) System.out.println(c);
public static CmsXmlContentDefinition.SequenceType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException如果参数为空值,
- 则抛出 NullPointerException