public class EnumBindingType extends Object implements Serializable
Constructor and Description |
---|
EnumBindingType() |
Modifier and Type | Method and Description |
---|---|
void |
addEnumMember(EnumMember vEnumMember) |
void |
addEnumMember(int index,
EnumMember vEnumMember) |
Enumeration |
enumerateEnumMember()
Method enumerateEnumMember.
|
EnumClassName |
getEnumClassName()
Returns the value of field 'enumClassName'.
|
EnumMember[] |
getEnumMember()
Method getEnumMember.Returns the contents of the collection
in an Array.
|
EnumMember |
getEnumMember(int index)
Method getEnumMember.
|
int |
getEnumMemberCount()
Method getEnumMemberCount.
|
boolean |
isValid()
Method isValid.
|
Iterator |
iterateEnumMember()
Method iterateEnumMember.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllEnumMember() |
boolean |
removeEnumMember(EnumMember vEnumMember)
Method removeEnumMember.
|
EnumMember |
removeEnumMemberAt(int index)
Method removeEnumMemberAt.
|
void |
setEnumClassName(EnumClassName enumClassName)
Sets the value of field 'enumClassName'.
|
void |
setEnumMember(EnumMember[] vEnumMemberArray) |
void |
setEnumMember(int index,
EnumMember vEnumMember) |
static EnumBindingType |
unmarshalEnumBindingType(Reader reader)
Method unmarshalEnumBindingType.
|
void |
validate() |
public void addEnumMember(EnumMember vEnumMember) throws IndexOutOfBoundsException
vEnumMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEnumMember(int index, EnumMember vEnumMember) throws IndexOutOfBoundsException
index
- vEnumMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration enumerateEnumMember()
public EnumClassName getEnumClassName()
public EnumMember getEnumMember(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic EnumMember[] getEnumMember()
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.
public int getEnumMemberCount()
public boolean isValid()
public Iterator iterateEnumMember()
public void marshal(Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler
- IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllEnumMember()
public boolean removeEnumMember(EnumMember vEnumMember)
vEnumMember
- public EnumMember removeEnumMemberAt(int index)
index
- public void setEnumClassName(EnumClassName enumClassName)
enumClassName
- the value of field 'enumClassName'.public void setEnumMember(int index, EnumMember vEnumMember) throws IndexOutOfBoundsException
index
- vEnumMember
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEnumMember(EnumMember[] vEnumMemberArray)
vEnumMemberArray
- public static EnumBindingType unmarshalEnumBindingType(Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2016. All rights reserved.