Factory method for instantiating EAs via API in a more
developer friendly way.
Parameters: clazz - Class, extending EA, which to instantiate Parameters: value - The value to set on that EA Configured EA throws: BuildException - If the class could not be found or the valueis not valid for the given EA-class.
This is the only method a subclass needs to implement.
an array holding all possible values of the enumeration.The order of elements must be fixed so that indexOfValue(String)always return the same index for the same value.
get the index of a value in this enumeration.
Parameters: value - the string value to look for. the index of the value in the array of stringsor -1 if it cannot be found. See Also:EnumeratedAttribute.getValues()