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