This type allows the mapping between an XML schema enumeration
and a java class that follows the type-safe enumeration
paradigm.
Additionally, it allows the specify the name of the Java
constant
definition for a given enumeraton value.
version: $Revision$ $Date$
Method getEnumMember.
Parameters: index - throws: java.lang.IndexOutOfBoundsException - if the indexgiven is outside the bounds of the collection the value of theorg.exolab.castor.builder.binding.EnumMember at the givenindex
Method getEnumMember.Returns the contents of the collection
in an Array.
Note: Just in case the collection contents
are changing in another thread, we pass a 0-length Array of
the correct type into the API call. This way we know
that the Array returned is of exactly the correct length.
this collection as an Array
Method unmarshalEnumBindingType.
Parameters: reader - throws: org.exolab.castor.xml.MarshalException - if object isnull or if any SAXException is thrown during marshaling throws: org.exolab.castor.xml.ValidationException - if thisobject is an invalid instance according to the schema the unmarshaledorg.exolab.castor.builder.binding.EnumBindingType