Interface XsdEnum<T>
-
- Type Parameters:
T- The concrete type of theEnum.
- All Known Implementing Classes:
BlockDefaultEnum,BlockEnum,ComplexTypeBlockEnum,FinalDefaultEnum,FinalEnum,FormEnum,SimpleTypeFinalEnum,UsageEnum,WhiteSpaceEnum
public interface XsdEnum<T>A shared interface for all theEnumclasses of this solution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getSupportedValues()java.lang.StringgetValue()T[]getValues()java.lang.StringgetVariableName()
-
-
-
Method Detail
-
getVariableName
java.lang.String getVariableName()
- Returns:
- The name of the attribute that the
Enumrepresents.
-
getSupportedValues
java.util.List<java.lang.String> getSupportedValues()
- Returns:
- The values that the attribute can have.
-
getValues
T[] getValues()
- Returns:
- The values that the attribute can have, as members of the
Enumtype.
-
getValue
java.lang.String getValue()
- Returns:
- The concrete value of the current instance.
-
-