Enum BlockDefaultEnum
- java.lang.Object
-
- java.lang.Enum<BlockDefaultEnum>
-
- org.xmlet.xsdparser.xsdelements.enums.BlockDefaultEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BlockDefaultEnum>,XsdEnum<BlockDefaultEnum>
public enum BlockDefaultEnum extends java.lang.Enum<BlockDefaultEnum> implements XsdEnum<BlockDefaultEnum>
AnEnumwith all the possible values for the blockDefault attribute ofXsdSchema.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLDEFAULTEXTENSIONRESTRICTIONSUBSTITUTION
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateBlockDefaultEnum(java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getSupportedValues()java.lang.StringgetValue()BlockDefaultEnum[]getValues()java.lang.StringgetVariableName()static BlockDefaultEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BlockDefaultEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final BlockDefaultEnum DEFAULT
-
EXTENSION
public static final BlockDefaultEnum EXTENSION
-
RESTRICTION
public static final BlockDefaultEnum RESTRICTION
-
SUBSTITUTION
public static final BlockDefaultEnum SUBSTITUTION
-
ALL
public static final BlockDefaultEnum ALL
-
-
Method Detail
-
values
public static BlockDefaultEnum[] 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 (BlockDefaultEnum c : BlockDefaultEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockDefaultEnum 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
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfaceXsdEnum<BlockDefaultEnum>- Returns:
- The concrete value of the current instance.
-
getVariableName
public java.lang.String getVariableName()
- Specified by:
getVariableNamein interfaceXsdEnum<BlockDefaultEnum>- Returns:
- The name of the attribute that the
Enumrepresents.
-
getValues
public BlockDefaultEnum[] getValues()
- Specified by:
getValuesin interfaceXsdEnum<BlockDefaultEnum>- Returns:
- The values that the attribute can have, as members of the
Enumtype.
-
getSupportedValues
public java.util.List<java.lang.String> getSupportedValues()
- Specified by:
getSupportedValuesin interfaceXsdEnum<BlockDefaultEnum>- Returns:
- The values that the attribute can have.
-
-