Serializable, Comparable<BlockEnum>, XsdEnum<BlockEnum>public enum BlockEnum extends Enum<BlockEnum> implements XsdEnum<BlockEnum>
Enum with all the possible values for the block attribute.| Enum Constant | Description |
|---|---|
ALL |
|
EXTENSION |
|
RESTRICTION |
|
SUBSTITUTION |
| Modifier and Type | Method | Description |
|---|---|---|
List<String> |
getSupportedValues() |
|
String |
getValue() |
|
BlockEnum[] |
getValues() |
|
String |
getVariableName() |
|
static BlockEnum |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BlockEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockEnum EXTENSION
public static final BlockEnum RESTRICTION
public static final BlockEnum SUBSTITUTION
public static final BlockEnum ALL
private final String value
public static BlockEnum[] values()
for (BlockEnum c : BlockEnum.values()) System.out.println(c);
public static BlockEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String getVariableName()
getVariableName in interface XsdEnum<BlockEnum>Enum represents.public BlockEnum[] getValues()
public List<String> getSupportedValues()
getSupportedValues in interface XsdEnum<BlockEnum>Copyright © 2018. All rights reserved.