A binding element is defined to express the binding between an
XML Schema Component
and Java class OR a java interface or a java member class. The
XML Schema component can
be an element, an attribute, a complexType or a group.
Attribute cannot be mapped to
class, the reader of a binding file will take care that class
or interface are not
used for component whose xml-type is attribute.
addAttributeBinding
public void addAttributeBinding(int index,
ComponentBindingType vAttributeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vAttributeBinding
-
addAttributeBinding
public void addAttributeBinding(ComponentBindingType vAttributeBinding)
throws java.lang.IndexOutOfBoundsException
addComplexTypeBinding
public void addComplexTypeBinding(int index,
ComponentBindingType vComplexTypeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vComplexTypeBinding
-
addComplexTypeBinding
public void addComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
throws java.lang.IndexOutOfBoundsException
addComponentBinding
public void addComponentBinding(int index,
ComponentBindingType vComponentBinding)
throws java.lang.IndexOutOfBoundsException
index
- vComponentBinding
-
addComponentBinding
public void addComponentBinding(ComponentBindingType vComponentBinding)
throws java.lang.IndexOutOfBoundsException
addElementBinding
public void addElementBinding(int index,
ComponentBindingType vElementBinding)
throws java.lang.IndexOutOfBoundsException
index
- vElementBinding
-
addElementBinding
public void addElementBinding(ComponentBindingType vElementBinding)
throws java.lang.IndexOutOfBoundsException
addEnumBinding
public void addEnumBinding(int index,
ComponentBindingType vEnumBinding)
throws java.lang.IndexOutOfBoundsException
addEnumBinding
public void addEnumBinding(ComponentBindingType vEnumBinding)
throws java.lang.IndexOutOfBoundsException
addGroupBinding
public void addGroupBinding(int index,
ComponentBindingType vGroupBinding)
throws java.lang.IndexOutOfBoundsException
addGroupBinding
public void addGroupBinding(ComponentBindingType vGroupBinding)
throws java.lang.IndexOutOfBoundsException
addSimpleTypeBinding
public void addSimpleTypeBinding(int index,
ComponentBindingType vSimpleTypeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vSimpleTypeBinding
-
addSimpleTypeBinding
public void addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
throws java.lang.IndexOutOfBoundsException
enumerateAttributeBinding
public java.util.Enumeration enumerateAttributeBinding()
Method enumerateAttributeBinding.
- an Enumeration over all possible elements of this
collection
enumerateComplexTypeBinding
public java.util.Enumeration enumerateComplexTypeBinding()
Method enumerateComplexTypeBinding.
- an Enumeration over all possible elements of this
collection
enumerateComponentBinding
public java.util.Enumeration enumerateComponentBinding()
Method enumerateComponentBinding.
- an Enumeration over all possible elements of this
collection
enumerateElementBinding
public java.util.Enumeration enumerateElementBinding()
Method enumerateElementBinding.
- an Enumeration over all possible elements of this
collection
enumerateEnumBinding
public java.util.Enumeration enumerateEnumBinding()
Method enumerateEnumBinding.
- an Enumeration over all possible elements of this
collection
enumerateGroupBinding
public java.util.Enumeration enumerateGroupBinding()
Method enumerateGroupBinding.
- an Enumeration over all possible elements of this
collection
enumerateSimpleTypeBinding
public java.util.Enumeration enumerateSimpleTypeBinding()
Method enumerateSimpleTypeBinding.
- an Enumeration over all possible elements of this
collection
getAttributeBinding
public ComponentBindingType[] 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.
- this collection as an Array
getAttributeBinding
public ComponentBindingType getAttributeBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getAttributeBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getAttributeBindingCount
public int getAttributeBindingCount()
Method getAttributeBindingCount.
- the size of this collection
getComplexTypeBinding
public ComponentBindingType[] 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.
- this collection as an Array
getComplexTypeBinding
public ComponentBindingType getComplexTypeBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getComplexTypeBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getComplexTypeBindingCount
public int getComplexTypeBindingCount()
Method getComplexTypeBindingCount.
- the size of this collection
getComponentBinding
public ComponentBindingType[] 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.
- this collection as an Array
getComponentBinding
public ComponentBindingType getComponentBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getComponentBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getComponentBindingCount
public int getComponentBindingCount()
Method getComponentBindingCount.
- the size of this collection
getComponentBindingTypeChoice
public ComponentBindingTypeChoice getComponentBindingTypeChoice()
Returns the value of field 'componentBindingTypeChoice'.
- the value of field 'ComponentBindingTypeChoice'.
getElementBinding
public ComponentBindingType[] 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.
- this collection as an Array
getElementBinding
public ComponentBindingType getElementBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getElementBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getElementBindingCount
public int getElementBindingCount()
Method getElementBindingCount.
- the size of this collection
getEnumBinding
public ComponentBindingType[] 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.
- this collection as an Array
getEnumBinding
public ComponentBindingType getEnumBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getEnumBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getEnumBindingCount
public int getEnumBindingCount()
Method getEnumBindingCount.
- the size of this collection
getGroupBinding
public ComponentBindingType[] 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.
- this collection as an Array
getGroupBinding
public ComponentBindingType getGroupBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getGroupBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getGroupBindingCount
public int getGroupBindingCount()
Method getGroupBindingCount.
- the size of this collection
getName
public java.lang.String getName()
Returns the value of field 'name'.
- the value of field 'Name'.
getSimpleTypeBinding
public ComponentBindingType[] 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.
- this collection as an Array
getSimpleTypeBinding
public ComponentBindingType getSimpleTypeBinding(int index)
throws java.lang.IndexOutOfBoundsException
Method getSimpleTypeBinding.
- the value of the
org.exolab.castor.builder.binding.ComponentBindingType at
the given index
getSimpleTypeBindingCount
public int getSimpleTypeBindingCount()
Method getSimpleTypeBindingCount.
- the size of this collection
isValid
public boolean isValid()
Method isValid.
- true if this object is valid according to the schema
iterateAttributeBinding
public java.util.Iterator iterateAttributeBinding()
Method iterateAttributeBinding.
- an Iterator over all possible elements in this
collection
iterateComplexTypeBinding
public java.util.Iterator iterateComplexTypeBinding()
Method iterateComplexTypeBinding.
- an Iterator over all possible elements in this
collection
iterateComponentBinding
public java.util.Iterator iterateComponentBinding()
Method iterateComponentBinding.
- an Iterator over all possible elements in this
collection
iterateElementBinding
public java.util.Iterator iterateElementBinding()
Method iterateElementBinding.
- an Iterator over all possible elements in this
collection
iterateEnumBinding
public java.util.Iterator iterateEnumBinding()
Method iterateEnumBinding.
- an Iterator over all possible elements in this
collection
iterateGroupBinding
public java.util.Iterator iterateGroupBinding()
Method iterateGroupBinding.
- an Iterator over all possible elements in this
collection
iterateSimpleTypeBinding
public java.util.Iterator iterateSimpleTypeBinding()
Method iterateSimpleTypeBinding.
- an Iterator over all possible elements in this
collection
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
public boolean removeAttributeBinding(ComponentBindingType vAttributeBinding)
Method removeAttributeBinding.
- true if the object was removed from the collection.
removeAttributeBindingAt
public ComponentBindingType removeAttributeBindingAt(int index)
Method removeAttributeBindingAt.
- the element removed from the collection
removeComplexTypeBinding
public boolean removeComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
Method removeComplexTypeBinding.
- true if the object was removed from the collection.
removeComplexTypeBindingAt
public ComponentBindingType removeComplexTypeBindingAt(int index)
Method removeComplexTypeBindingAt.
- the element removed from the collection
removeComponentBinding
public boolean removeComponentBinding(ComponentBindingType vComponentBinding)
Method removeComponentBinding.
- true if the object was removed from the collection.
removeComponentBindingAt
public ComponentBindingType removeComponentBindingAt(int index)
Method removeComponentBindingAt.
- the element removed from the collection
removeElementBinding
public boolean removeElementBinding(ComponentBindingType vElementBinding)
Method removeElementBinding.
- true if the object was removed from the collection.
removeElementBindingAt
public ComponentBindingType removeElementBindingAt(int index)
Method removeElementBindingAt.
- the element removed from the collection
removeEnumBinding
public boolean removeEnumBinding(ComponentBindingType vEnumBinding)
Method removeEnumBinding.
- true if the object was removed from the collection.
removeEnumBindingAt
public ComponentBindingType removeEnumBindingAt(int index)
Method removeEnumBindingAt.
- the element removed from the collection
removeGroupBinding
public boolean removeGroupBinding(ComponentBindingType vGroupBinding)
Method removeGroupBinding.
- true if the object was removed from the collection.
removeGroupBindingAt
public ComponentBindingType removeGroupBindingAt(int index)
Method removeGroupBindingAt.
- the element removed from the collection
removeSimpleTypeBinding
public boolean removeSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
Method removeSimpleTypeBinding.
- true if the object was removed from the collection.
removeSimpleTypeBindingAt
public ComponentBindingType removeSimpleTypeBindingAt(int index)
Method removeSimpleTypeBindingAt.
- the element removed from the collection
setAttributeBinding
public void setAttributeBinding(int index,
ComponentBindingType vAttributeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vAttributeBinding
-
setComplexTypeBinding
public void setComplexTypeBinding(int index,
ComponentBindingType vComplexTypeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vComplexTypeBinding
-
setComplexTypeBinding
public void setComplexTypeBinding(ComponentBindingType[] vComplexTypeBindingArray)
vComplexTypeBindingArray
-
setComponentBinding
public void setComponentBinding(int index,
ComponentBindingType vComponentBinding)
throws java.lang.IndexOutOfBoundsException
index
- vComponentBinding
-
setComponentBindingTypeChoice
public void setComponentBindingTypeChoice(ComponentBindingTypeChoice componentBindingTypeChoice)
Sets the value of field 'componentBindingTypeChoice'.
componentBindingTypeChoice
- the value of field
'componentBindingTypeChoice'.
setElementBinding
public void setElementBinding(int index,
ComponentBindingType vElementBinding)
throws java.lang.IndexOutOfBoundsException
index
- vElementBinding
-
setEnumBinding
public void setEnumBinding(int index,
ComponentBindingType vEnumBinding)
throws java.lang.IndexOutOfBoundsException
setGroupBinding
public void setGroupBinding(int index,
ComponentBindingType vGroupBinding)
throws java.lang.IndexOutOfBoundsException
setName
public void setName(java.lang.String name)
Sets the value of field 'name'.
name
- the value of field 'name'.
setSimpleTypeBinding
public void setSimpleTypeBinding(int index,
ComponentBindingType vSimpleTypeBinding)
throws java.lang.IndexOutOfBoundsException
index
- vSimpleTypeBinding
-
setSimpleTypeBinding
public void setSimpleTypeBinding(ComponentBindingType[] vSimpleTypeBindingArray)
vSimpleTypeBindingArray
-