java.io.Serializable
public class ClassChoice
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
ClassChoice() |
Modifier and Type | Method | Description |
---|---|---|
void |
addContainer(int index,
Container vContainer) |
|
void |
addContainer(Container vContainer) |
|
void |
addFieldMapping(int index,
FieldMapping vFieldMapping) |
|
void |
addFieldMapping(FieldMapping vFieldMapping) |
|
java.util.Enumeration<? extends Container> |
enumerateContainer() |
Method enumerateContainer.
|
java.util.Enumeration<? extends FieldMapping> |
enumerateFieldMapping() |
Method enumerateFieldMapping.
|
Container[] |
getContainer() |
Method getContainer.Returns the contents of the collection
in an Array.
|
Container |
getContainer(int index) |
Method getContainer.
|
int |
getContainerCount() |
Method getContainerCount.
|
FieldMapping[] |
getFieldMapping() |
Method getFieldMapping.Returns the contents of the
collection in an Array.
|
FieldMapping |
getFieldMapping(int index) |
Method getFieldMapping.
|
int |
getFieldMappingCount() |
Method getFieldMappingCount.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator<? extends Container> |
iterateContainer() |
Method iterateContainer.
|
java.util.Iterator<? extends FieldMapping> |
iterateFieldMapping() |
Method iterateFieldMapping.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllContainer() |
|
void |
removeAllFieldMapping() |
|
boolean |
removeContainer(Container vContainer) |
Method removeContainer.
|
Container |
removeContainerAt(int index) |
Method removeContainerAt.
|
boolean |
removeFieldMapping(FieldMapping vFieldMapping) |
Method removeFieldMapping.
|
FieldMapping |
removeFieldMappingAt(int index) |
Method removeFieldMappingAt.
|
void |
setContainer(int index,
Container vContainer) |
|
void |
setContainer(Container[] vContainerArray) |
|
void |
setFieldMapping(int index,
FieldMapping vFieldMapping) |
|
void |
setFieldMapping(FieldMapping[] vFieldMappingArray) |
|
static ClassChoice |
unmarshal(java.io.Reader reader) |
Method unmarshal.
|
void |
validate() |
public void addContainer(Container vContainer) throws java.lang.IndexOutOfBoundsException
vContainer
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addContainer(int index, Container vContainer) throws java.lang.IndexOutOfBoundsException
index
- vContainer
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addFieldMapping(FieldMapping vFieldMapping) throws java.lang.IndexOutOfBoundsException
vFieldMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addFieldMapping(int index, FieldMapping vFieldMapping) throws java.lang.IndexOutOfBoundsException
index
- vFieldMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends Container> enumerateContainer()
public java.util.Enumeration<? extends FieldMapping> enumerateFieldMapping()
public Container getContainer(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Container[] getContainer()
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 getContainerCount()
public FieldMapping getFieldMapping(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic FieldMapping[] getFieldMapping()
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 getFieldMappingCount()
public boolean isValid()
public java.util.Iterator<? extends Container> iterateContainer()
public java.util.Iterator<? extends FieldMapping> iterateFieldMapping()
public void marshal(java.io.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(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.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 removeAllContainer()
public void removeAllFieldMapping()
public boolean removeContainer(Container vContainer)
vContainer
- public Container removeContainerAt(int index)
index
- public boolean removeFieldMapping(FieldMapping vFieldMapping)
vFieldMapping
- public FieldMapping removeFieldMappingAt(int index)
index
- public void setContainer(int index, Container vContainer) throws java.lang.IndexOutOfBoundsException
index
- vContainer
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setContainer(Container[] vContainerArray)
vContainerArray
- public void setFieldMapping(int index, FieldMapping vFieldMapping) throws java.lang.IndexOutOfBoundsException
index
- vFieldMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setFieldMapping(FieldMapping[] vFieldMappingArray)
vFieldMappingArray
- public static ClassChoice unmarshal(java.io.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 schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com