Class ComponentBindingType
- All Implemented Interfaces:
Serializable
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeBinding
(int index, ComponentBindingType vAttributeBinding) void
addAttributeBinding
(ComponentBindingType vAttributeBinding) void
addComplexTypeBinding
(int index, ComponentBindingType vComplexTypeBinding) void
addComplexTypeBinding
(ComponentBindingType vComplexTypeBinding) void
addComponentBinding
(int index, ComponentBindingType vComponentBinding) void
addComponentBinding
(ComponentBindingType vComponentBinding) void
addElementBinding
(int index, ComponentBindingType vElementBinding) void
addElementBinding
(ComponentBindingType vElementBinding) void
addEnumBinding
(int index, ComponentBindingType vEnumBinding) void
addEnumBinding
(ComponentBindingType vEnumBinding) void
addGroupBinding
(int index, ComponentBindingType vGroupBinding) void
addGroupBinding
(ComponentBindingType vGroupBinding) void
addSimpleTypeBinding
(int index, ComponentBindingType vSimpleTypeBinding) void
addSimpleTypeBinding
(ComponentBindingType vSimpleTypeBinding) Method enumerateAttributeBinding.Method enumerateComplexTypeBinding.Method enumerateComponentBinding.Method enumerateElementBinding.Method enumerateEnumBinding.Method enumerateGroupBinding.Method enumerateSimpleTypeBinding.Method getAttributeBinding.Returns the contents of the collection in an Array.getAttributeBinding
(int index) Method getAttributeBinding.int
Method getAttributeBindingCount.Method getComplexTypeBinding.Returns the contents of the collection in an Array.getComplexTypeBinding
(int index) Method getComplexTypeBinding.int
Method getComplexTypeBindingCount.Method getComponentBinding.Returns the contents of the collection in an Array.getComponentBinding
(int index) Method getComponentBinding.int
Method getComponentBindingCount.Returns the value of field 'componentBindingTypeChoice'.Method getElementBinding.Returns the contents of the collection in an Array.getElementBinding
(int index) Method getElementBinding.int
Method getElementBindingCount.Method getEnumBinding.Returns the contents of the collection in an Array.getEnumBinding
(int index) Method getEnumBinding.int
Method getEnumBindingCount.Method getGroupBinding.Returns the contents of the collection in an Array.getGroupBinding
(int index) Method getGroupBinding.int
Method getGroupBindingCount.getName()
Returns the value of field 'name'.Method getSimpleTypeBinding.Returns the contents of the collection in an Array.getSimpleTypeBinding
(int index) Method getSimpleTypeBinding.int
Method getSimpleTypeBindingCount.boolean
isValid()
Method isValid.Method iterateAttributeBinding.Method iterateComplexTypeBinding.Method iterateComponentBinding.Method iterateElementBinding.Method iterateEnumBinding.Method iterateGroupBinding.Method iterateSimpleTypeBinding.void
void
marshal
(ContentHandler handler) void
void
void
void
void
void
void
boolean
removeAttributeBinding
(ComponentBindingType vAttributeBinding) Method removeAttributeBinding.removeAttributeBindingAt
(int index) Method removeAttributeBindingAt.boolean
removeComplexTypeBinding
(ComponentBindingType vComplexTypeBinding) Method removeComplexTypeBinding.removeComplexTypeBindingAt
(int index) Method removeComplexTypeBindingAt.boolean
removeComponentBinding
(ComponentBindingType vComponentBinding) Method removeComponentBinding.removeComponentBindingAt
(int index) Method removeComponentBindingAt.boolean
removeElementBinding
(ComponentBindingType vElementBinding) Method removeElementBinding.removeElementBindingAt
(int index) Method removeElementBindingAt.boolean
removeEnumBinding
(ComponentBindingType vEnumBinding) Method removeEnumBinding.removeEnumBindingAt
(int index) Method removeEnumBindingAt.boolean
removeGroupBinding
(ComponentBindingType vGroupBinding) Method removeGroupBinding.removeGroupBindingAt
(int index) Method removeGroupBindingAt.boolean
removeSimpleTypeBinding
(ComponentBindingType vSimpleTypeBinding) Method removeSimpleTypeBinding.removeSimpleTypeBindingAt
(int index) Method removeSimpleTypeBindingAt.void
setAttributeBinding
(int index, ComponentBindingType vAttributeBinding) void
setAttributeBinding
(ComponentBindingType[] vAttributeBindingArray) void
setComplexTypeBinding
(int index, ComponentBindingType vComplexTypeBinding) void
setComplexTypeBinding
(ComponentBindingType[] vComplexTypeBindingArray) void
setComponentBinding
(int index, ComponentBindingType vComponentBinding) void
setComponentBinding
(ComponentBindingType[] vComponentBindingArray) void
setComponentBindingTypeChoice
(ComponentBindingTypeChoice componentBindingTypeChoice) Sets the value of field 'componentBindingTypeChoice'.void
setElementBinding
(int index, ComponentBindingType vElementBinding) void
setElementBinding
(ComponentBindingType[] vElementBindingArray) void
setEnumBinding
(int index, ComponentBindingType vEnumBinding) void
setEnumBinding
(ComponentBindingType[] vEnumBindingArray) void
setGroupBinding
(int index, ComponentBindingType vGroupBinding) void
setGroupBinding
(ComponentBindingType[] vGroupBindingArray) void
Sets the value of field 'name'.void
setSimpleTypeBinding
(int index, ComponentBindingType vSimpleTypeBinding) void
setSimpleTypeBinding
(ComponentBindingType[] vSimpleTypeBindingArray) static ComponentBindingType
unmarshalComponentBindingType
(Reader reader) Method unmarshalComponentBindingType.void
validate()
-
Constructor Details
-
ComponentBindingType
public ComponentBindingType()
-
-
Method Details
-
addAttributeBinding
public void addAttributeBinding(ComponentBindingType vAttributeBinding) throws IndexOutOfBoundsException - Parameters:
vAttributeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addAttributeBinding
public void addAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vAttributeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComplexTypeBinding
public void addComplexTypeBinding(ComponentBindingType vComplexTypeBinding) throws IndexOutOfBoundsException - Parameters:
vComplexTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComplexTypeBinding
public void addComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vComplexTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComponentBinding
public void addComponentBinding(ComponentBindingType vComponentBinding) throws IndexOutOfBoundsException - Parameters:
vComponentBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComponentBinding
public void addComponentBinding(int index, ComponentBindingType vComponentBinding) throws IndexOutOfBoundsException - Parameters:
index
-vComponentBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addElementBinding
public void addElementBinding(ComponentBindingType vElementBinding) throws IndexOutOfBoundsException - Parameters:
vElementBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addElementBinding
public void addElementBinding(int index, ComponentBindingType vElementBinding) throws IndexOutOfBoundsException - Parameters:
index
-vElementBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addEnumBinding
- Parameters:
vEnumBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addEnumBinding
public void addEnumBinding(int index, ComponentBindingType vEnumBinding) throws IndexOutOfBoundsException - Parameters:
index
-vEnumBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addGroupBinding
- Parameters:
vGroupBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addGroupBinding
public void addGroupBinding(int index, ComponentBindingType vGroupBinding) throws IndexOutOfBoundsException - Parameters:
index
-vGroupBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addSimpleTypeBinding
public void addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding) throws IndexOutOfBoundsException - Parameters:
vSimpleTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addSimpleTypeBinding
public void addSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vSimpleTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateAttributeBinding
Method enumerateAttributeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateComplexTypeBinding
Method enumerateComplexTypeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateComponentBinding
Method enumerateComponentBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateElementBinding
Method enumerateElementBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateEnumBinding
Method enumerateEnumBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateGroupBinding
Method enumerateGroupBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateSimpleTypeBinding
Method enumerateSimpleTypeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
getAttributeBinding
Method getAttributeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getAttributeBinding
Method getAttributeBinding.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.
- Returns:
- this collection as an Array
-
getAttributeBindingCount
public int getAttributeBindingCount()Method getAttributeBindingCount.- Returns:
- the size of this collection
-
getComplexTypeBinding
Method getComplexTypeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getComplexTypeBinding
Method getComplexTypeBinding.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.
- Returns:
- this collection as an Array
-
getComplexTypeBindingCount
public int getComplexTypeBindingCount()Method getComplexTypeBindingCount.- Returns:
- the size of this collection
-
getComponentBinding
Method getComponentBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getComponentBinding
Method getComponentBinding.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.
- Returns:
- this collection as an Array
-
getComponentBindingCount
public int getComponentBindingCount()Method getComponentBindingCount.- Returns:
- the size of this collection
-
getComponentBindingTypeChoice
Returns the value of field 'componentBindingTypeChoice'.- Returns:
- the value of field 'ComponentBindingTypeChoice'.
-
getElementBinding
Method getElementBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getElementBinding
Method getElementBinding.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.
- Returns:
- this collection as an Array
-
getElementBindingCount
public int getElementBindingCount()Method getElementBindingCount.- Returns:
- the size of this collection
-
getEnumBinding
Method getEnumBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getEnumBinding
Method getEnumBinding.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.
- Returns:
- this collection as an Array
-
getEnumBindingCount
public int getEnumBindingCount()Method getEnumBindingCount.- Returns:
- the size of this collection
-
getGroupBinding
Method getGroupBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getGroupBinding
Method getGroupBinding.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.
- Returns:
- this collection as an Array
-
getGroupBindingCount
public int getGroupBindingCount()Method getGroupBindingCount.- Returns:
- the size of this collection
-
getName
Returns the value of field 'name'.- Returns:
- the value of field 'Name'.
-
getSimpleTypeBinding
Method getSimpleTypeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getSimpleTypeBinding
Method getSimpleTypeBinding.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.
- Returns:
- this collection as an Array
-
getSimpleTypeBindingCount
public int getSimpleTypeBindingCount()Method getSimpleTypeBindingCount.- Returns:
- the size of this collection
-
isValid
public boolean isValid()Method isValid.- Returns:
- true if this object is valid according to the schema
-
iterateAttributeBinding
Method iterateAttributeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateComplexTypeBinding
Method iterateComplexTypeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateComponentBinding
Method iterateComponentBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateElementBinding
Method iterateElementBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateEnumBinding
Method iterateEnumBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateGroupBinding
Method iterateGroupBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateSimpleTypeBinding
Method iterateSimpleTypeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
marshal
- Parameters:
out
-- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
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 marshaling
-
removeAllAttributeBinding
public void removeAllAttributeBinding() -
removeAllComplexTypeBinding
public void removeAllComplexTypeBinding() -
removeAllComponentBinding
public void removeAllComponentBinding() -
removeAllElementBinding
public void removeAllElementBinding() -
removeAllEnumBinding
public void removeAllEnumBinding() -
removeAllGroupBinding
public void removeAllGroupBinding() -
removeAllSimpleTypeBinding
public void removeAllSimpleTypeBinding() -
removeAttributeBinding
Method removeAttributeBinding.- Parameters:
vAttributeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeAttributeBindingAt
Method removeAttributeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeComplexTypeBinding
Method removeComplexTypeBinding.- Parameters:
vComplexTypeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeComplexTypeBindingAt
Method removeComplexTypeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeComponentBinding
Method removeComponentBinding.- Parameters:
vComponentBinding
-- Returns:
- true if the object was removed from the collection.
-
removeComponentBindingAt
Method removeComponentBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeElementBinding
Method removeElementBinding.- Parameters:
vElementBinding
-- Returns:
- true if the object was removed from the collection.
-
removeElementBindingAt
Method removeElementBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeEnumBinding
Method removeEnumBinding.- Parameters:
vEnumBinding
-- Returns:
- true if the object was removed from the collection.
-
removeEnumBindingAt
Method removeEnumBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeGroupBinding
Method removeGroupBinding.- Parameters:
vGroupBinding
-- Returns:
- true if the object was removed from the collection.
-
removeGroupBindingAt
Method removeGroupBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeSimpleTypeBinding
Method removeSimpleTypeBinding.- Parameters:
vSimpleTypeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeSimpleTypeBindingAt
Method removeSimpleTypeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
setAttributeBinding
public void setAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vAttributeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setAttributeBinding
- Parameters:
vAttributeBindingArray
-
-
setComplexTypeBinding
public void setComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vComplexTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setComplexTypeBinding
- Parameters:
vComplexTypeBindingArray
-
-
setComponentBinding
public void setComponentBinding(int index, ComponentBindingType vComponentBinding) throws IndexOutOfBoundsException - Parameters:
index
-vComponentBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setComponentBinding
- Parameters:
vComponentBindingArray
-
-
setComponentBindingTypeChoice
Sets the value of field 'componentBindingTypeChoice'.- Parameters:
componentBindingTypeChoice
- the value of field 'componentBindingTypeChoice'.
-
setElementBinding
public void setElementBinding(int index, ComponentBindingType vElementBinding) throws IndexOutOfBoundsException - Parameters:
index
-vElementBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setElementBinding
- Parameters:
vElementBindingArray
-
-
setEnumBinding
public void setEnumBinding(int index, ComponentBindingType vEnumBinding) throws IndexOutOfBoundsException - Parameters:
index
-vEnumBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setEnumBinding
- Parameters:
vEnumBindingArray
-
-
setGroupBinding
public void setGroupBinding(int index, ComponentBindingType vGroupBinding) throws IndexOutOfBoundsException - Parameters:
index
-vGroupBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setGroupBinding
- Parameters:
vGroupBindingArray
-
-
setName
Sets the value of field 'name'.- Parameters:
name
- the value of field 'name'.
-
setSimpleTypeBinding
public void setSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws IndexOutOfBoundsException - Parameters:
index
-vSimpleTypeBinding
-- Throws:
IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setSimpleTypeBinding
- Parameters:
vSimpleTypeBindingArray
-
-
unmarshalComponentBindingType
public static ComponentBindingType unmarshalComponentBindingType(Reader reader) throws MarshalException, ValidationException Method unmarshalComponentBindingType.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.ComponentBindingType
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-