Class Binding
- java.lang.Object
-
- org.exolab.castor.builder.binding.xml.Binding
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ExtendedBinding
public class Binding extends java.lang.Object implements java.io.Serializable
The root element that contains the different binding elements. The binding file is written from a schema point of view and follows the structure of an XML Schema. The root element can also be used to configure the default binding type.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Binding()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
addInclude(int index, IncludeType vInclude)
void
addInclude(IncludeType vInclude)
void
addPackage(int index, PackageType vPackage)
void
addPackage(PackageType vPackage)
void
addSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding)
void
addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
java.util.Enumeration
enumerateAttributeBinding()
Method enumerateAttributeBinding.java.util.Enumeration
enumerateComplexTypeBinding()
Method enumerateComplexTypeBinding.java.util.Enumeration
enumerateComponentBinding()
Method enumerateComponentBinding.java.util.Enumeration
enumerateElementBinding()
Method enumerateElementBinding.java.util.Enumeration
enumerateEnumBinding()
Method enumerateEnumBinding.java.util.Enumeration
enumerateGroupBinding()
Method enumerateGroupBinding.java.util.Enumeration
enumerateInclude()
Method enumerateInclude.java.util.Enumeration
enumeratePackage()
Method enumeratePackage.java.util.Enumeration
enumerateSimpleTypeBinding()
Method enumerateSimpleTypeBinding.ComponentBindingType[]
getAttributeBinding()
Method getAttributeBinding.Returns the contents of the collection in an Array.ComponentBindingType
getAttributeBinding(int index)
Method getAttributeBinding.int
getAttributeBindingCount()
Method getAttributeBindingCount.AutomaticNamingType
getAutomaticNaming()
Returns the value of field 'automaticNaming'.ComponentBindingType[]
getComplexTypeBinding()
Method getComplexTypeBinding.Returns the contents of the collection in an Array.ComponentBindingType
getComplexTypeBinding(int index)
Method getComplexTypeBinding.int
getComplexTypeBindingCount()
Method getComplexTypeBindingCount.ComponentBindingType[]
getComponentBinding()
Method getComponentBinding.Returns the contents of the collection in an Array.ComponentBindingType
getComponentBinding(int index)
Method getComponentBinding.int
getComponentBindingCount()
Method getComponentBindingCount.BindingType
getDefaultBindingType()
Returns the value of field 'defaultBindingType'.ComponentBindingType[]
getElementBinding()
Method getElementBinding.Returns the contents of the collection in an Array.ComponentBindingType
getElementBinding(int index)
Method getElementBinding.int
getElementBindingCount()
Method getElementBindingCount.ComponentBindingType[]
getEnumBinding()
Method getEnumBinding.Returns the contents of the collection in an Array.ComponentBindingType
getEnumBinding(int index)
Method getEnumBinding.int
getEnumBindingCount()
Method getEnumBindingCount.ComponentBindingType[]
getGroupBinding()
Method getGroupBinding.Returns the contents of the collection in an Array.ComponentBindingType
getGroupBinding(int index)
Method getGroupBinding.int
getGroupBindingCount()
Method getGroupBindingCount.IncludeType[]
getInclude()
Method getInclude.Returns the contents of the collection in an Array.IncludeType
getInclude(int index)
Method getInclude.int
getIncludeCount()
Method getIncludeCount.NamingXMLType
getNamingXML()
Returns the value of field 'namingXML'.PackageType[]
getPackage()
Method getPackage.Returns the contents of the collection in an Array.PackageType
getPackage(int index)
Method getPackage.int
getPackageCount()
Method getPackageCount.ComponentBindingType[]
getSimpleTypeBinding()
Method getSimpleTypeBinding.Returns the contents of the collection in an Array.ComponentBindingType
getSimpleTypeBinding(int index)
Method getSimpleTypeBinding.int
getSimpleTypeBindingCount()
Method getSimpleTypeBindingCount.boolean
isValid()
Method isValid.java.util.Iterator
iterateAttributeBinding()
Method iterateAttributeBinding.java.util.Iterator
iterateComplexTypeBinding()
Method iterateComplexTypeBinding.java.util.Iterator
iterateComponentBinding()
Method iterateComponentBinding.java.util.Iterator
iterateElementBinding()
Method iterateElementBinding.java.util.Iterator
iterateEnumBinding()
Method iterateEnumBinding.java.util.Iterator
iterateGroupBinding()
Method iterateGroupBinding.java.util.Iterator
iterateInclude()
Method iterateInclude.java.util.Iterator
iteratePackage()
Method iteratePackage.java.util.Iterator
iterateSimpleTypeBinding()
Method iterateSimpleTypeBinding.void
marshal(java.io.Writer out)
void
marshal(org.xml.sax.ContentHandler handler)
void
removeAllAttributeBinding()
void
removeAllComplexTypeBinding()
void
removeAllComponentBinding()
void
removeAllElementBinding()
void
removeAllEnumBinding()
void
removeAllGroupBinding()
void
removeAllInclude()
void
removeAllPackage()
void
removeAllSimpleTypeBinding()
boolean
removeAttributeBinding(ComponentBindingType vAttributeBinding)
Method removeAttributeBinding.ComponentBindingType
removeAttributeBindingAt(int index)
Method removeAttributeBindingAt.boolean
removeComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
Method removeComplexTypeBinding.ComponentBindingType
removeComplexTypeBindingAt(int index)
Method removeComplexTypeBindingAt.boolean
removeComponentBinding(ComponentBindingType vComponentBinding)
Method removeComponentBinding.ComponentBindingType
removeComponentBindingAt(int index)
Method removeComponentBindingAt.boolean
removeElementBinding(ComponentBindingType vElementBinding)
Method removeElementBinding.ComponentBindingType
removeElementBindingAt(int index)
Method removeElementBindingAt.boolean
removeEnumBinding(ComponentBindingType vEnumBinding)
Method removeEnumBinding.ComponentBindingType
removeEnumBindingAt(int index)
Method removeEnumBindingAt.boolean
removeGroupBinding(ComponentBindingType vGroupBinding)
Method removeGroupBinding.ComponentBindingType
removeGroupBindingAt(int index)
Method removeGroupBindingAt.boolean
removeInclude(IncludeType vInclude)
Method removeInclude.IncludeType
removeIncludeAt(int index)
Method removeIncludeAt.boolean
removePackage(PackageType vPackage)
Method removePackage.PackageType
removePackageAt(int index)
Method removePackageAt.boolean
removeSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
Method removeSimpleTypeBinding.ComponentBindingType
removeSimpleTypeBindingAt(int index)
Method removeSimpleTypeBindingAt.void
setAttributeBinding(int index, ComponentBindingType vAttributeBinding)
void
setAttributeBinding(ComponentBindingType[] vAttributeBindingArray)
void
setAutomaticNaming(AutomaticNamingType automaticNaming)
Sets the value of field 'automaticNaming'.void
setComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding)
void
setComplexTypeBinding(ComponentBindingType[] vComplexTypeBindingArray)
void
setComponentBinding(int index, ComponentBindingType vComponentBinding)
void
setComponentBinding(ComponentBindingType[] vComponentBindingArray)
void
setDefaultBindingType(BindingType defaultBindingType)
Sets the value of field 'defaultBindingType'.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
setInclude(int index, IncludeType vInclude)
void
setInclude(IncludeType[] vIncludeArray)
void
setNamingXML(NamingXMLType namingXML)
Sets the value of field 'namingXML'.void
setPackage(int index, PackageType vPackage)
void
setPackage(PackageType[] vPackageArray)
void
setSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding)
void
setSimpleTypeBinding(ComponentBindingType[] vSimpleTypeBindingArray)
static Binding
unmarshalBinding(java.io.Reader reader)
Method unmarshalBinding.void
validate()
-
-
-
Method Detail
-
addAttributeBinding
public void addAttributeBinding(ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vAttributeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addAttributeBinding
public void addAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vAttributeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComplexTypeBinding
public void addComplexTypeBinding(ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vComplexTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComplexTypeBinding
public void addComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vComplexTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComponentBinding
public void addComponentBinding(ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vComponentBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addComponentBinding
public void addComponentBinding(int index, ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vComponentBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addElementBinding
public void addElementBinding(ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vElementBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addElementBinding
public void addElementBinding(int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vElementBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addEnumBinding
public void addEnumBinding(ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vEnumBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addEnumBinding
public void addEnumBinding(int index, ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vEnumBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addGroupBinding
public void addGroupBinding(ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vGroupBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addGroupBinding
public void addGroupBinding(int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vGroupBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInclude
public void addInclude(IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
- Parameters:
vInclude
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addInclude
public void addInclude(int index, IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInclude
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addPackage
public void addPackage(PackageType vPackage) throws java.lang.IndexOutOfBoundsException
- Parameters:
vPackage
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addPackage
public void addPackage(int index, PackageType vPackage) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vPackage
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addSimpleTypeBinding
public void addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
vSimpleTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
addSimpleTypeBinding
public void addSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vSimpleTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
enumerateAttributeBinding
public java.util.Enumeration enumerateAttributeBinding()
Method enumerateAttributeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateComplexTypeBinding
public java.util.Enumeration enumerateComplexTypeBinding()
Method enumerateComplexTypeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateComponentBinding
public java.util.Enumeration enumerateComponentBinding()
Method enumerateComponentBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateElementBinding
public java.util.Enumeration enumerateElementBinding()
Method enumerateElementBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateEnumBinding
public java.util.Enumeration enumerateEnumBinding()
Method enumerateEnumBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateGroupBinding
public java.util.Enumeration enumerateGroupBinding()
Method enumerateGroupBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateInclude
public java.util.Enumeration enumerateInclude()
Method enumerateInclude.- Returns:
- an Enumeration over all possible elements of this collection
-
enumeratePackage
public java.util.Enumeration enumeratePackage()
Method enumeratePackage.- Returns:
- an Enumeration over all possible elements of this collection
-
enumerateSimpleTypeBinding
public java.util.Enumeration enumerateSimpleTypeBinding()
Method enumerateSimpleTypeBinding.- Returns:
- an Enumeration over all possible elements of this collection
-
getAttributeBinding
public ComponentBindingType getAttributeBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getAttributeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the 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.
- Returns:
- this collection as an Array
-
getAttributeBindingCount
public int getAttributeBindingCount()
Method getAttributeBindingCount.- Returns:
- the size of this collection
-
getAutomaticNaming
public AutomaticNamingType getAutomaticNaming()
Returns the value of field 'automaticNaming'.- Returns:
- the value of field 'AutomaticNaming'.
-
getComplexTypeBinding
public ComponentBindingType getComplexTypeBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getComplexTypeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the 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.
- Returns:
- this collection as an Array
-
getComplexTypeBindingCount
public int getComplexTypeBindingCount()
Method getComplexTypeBindingCount.- Returns:
- the size of this collection
-
getComponentBinding
public ComponentBindingType getComponentBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getComponentBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the 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.
- Returns:
- this collection as an Array
-
getComponentBindingCount
public int getComponentBindingCount()
Method getComponentBindingCount.- Returns:
- the size of this collection
-
getDefaultBindingType
public BindingType getDefaultBindingType()
Returns the value of field 'defaultBindingType'.- Returns:
- the value of field 'DefaultBindingType'.
-
getElementBinding
public ComponentBindingType getElementBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getElementBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
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.
- Returns:
- this collection as an Array
-
getElementBindingCount
public int getElementBindingCount()
Method getElementBindingCount.- Returns:
- the size of this collection
-
getEnumBinding
public ComponentBindingType getEnumBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getEnumBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the 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.
- Returns:
- this collection as an Array
-
getEnumBindingCount
public int getEnumBindingCount()
Method getEnumBindingCount.- Returns:
- the size of this collection
-
getGroupBinding
public ComponentBindingType getGroupBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getGroupBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the 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.
- Returns:
- this collection as an Array
-
getGroupBindingCount
public int getGroupBindingCount()
Method getGroupBindingCount.- Returns:
- the size of this collection
-
getInclude
public IncludeType getInclude(int index) throws java.lang.IndexOutOfBoundsException
Method getInclude.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.IncludeType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getInclude
public IncludeType[] getInclude()
Method getInclude.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
-
getIncludeCount
public int getIncludeCount()
Method getIncludeCount.- Returns:
- the size of this collection
-
getNamingXML
public NamingXMLType getNamingXML()
Returns the value of field 'namingXML'.- Returns:
- the value of field 'NamingXML'.
-
getPackage
public PackageType getPackage(int index) throws java.lang.IndexOutOfBoundsException
Method getPackage.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.PackageType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
getPackage
public PackageType[] getPackage()
Method getPackage.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
-
getPackageCount
public int getPackageCount()
Method getPackageCount.- Returns:
- the size of this collection
-
getSimpleTypeBinding
public ComponentBindingType getSimpleTypeBinding(int index) throws java.lang.IndexOutOfBoundsException
Method getSimpleTypeBinding.- Parameters:
index
-- Returns:
- the value of the org.exolab.castor.builder.binding.xml.ComponentBindingType at the given index
- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
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.
- 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
public java.util.Iterator iterateAttributeBinding()
Method iterateAttributeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateComplexTypeBinding
public java.util.Iterator iterateComplexTypeBinding()
Method iterateComplexTypeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateComponentBinding
public java.util.Iterator iterateComponentBinding()
Method iterateComponentBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateElementBinding
public java.util.Iterator iterateElementBinding()
Method iterateElementBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateEnumBinding
public java.util.Iterator iterateEnumBinding()
Method iterateEnumBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateGroupBinding
public java.util.Iterator iterateGroupBinding()
Method iterateGroupBinding.- Returns:
- an Iterator over all possible elements in this collection
-
iterateInclude
public java.util.Iterator iterateInclude()
Method iterateInclude.- Returns:
- an Iterator over all possible elements in this collection
-
iteratePackage
public java.util.Iterator iteratePackage()
Method iteratePackage.- Returns:
- an Iterator over all possible elements in this collection
-
iterateSimpleTypeBinding
public java.util.Iterator iterateSimpleTypeBinding()
Method iterateSimpleTypeBinding.- Returns:
- an Iterator over all possible elements in this collection
-
marshal
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
- 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(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
- Parameters:
handler
-- Throws:
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 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()
-
removeAllInclude
public void removeAllInclude()
-
removeAllPackage
public void removeAllPackage()
-
removeAllSimpleTypeBinding
public void removeAllSimpleTypeBinding()
-
removeAttributeBinding
public boolean removeAttributeBinding(ComponentBindingType vAttributeBinding)
Method removeAttributeBinding.- Parameters:
vAttributeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeAttributeBindingAt
public ComponentBindingType removeAttributeBindingAt(int index)
Method removeAttributeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeComplexTypeBinding
public boolean removeComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
Method removeComplexTypeBinding.- Parameters:
vComplexTypeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeComplexTypeBindingAt
public ComponentBindingType removeComplexTypeBindingAt(int index)
Method removeComplexTypeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeComponentBinding
public boolean removeComponentBinding(ComponentBindingType vComponentBinding)
Method removeComponentBinding.- Parameters:
vComponentBinding
-- Returns:
- true if the object was removed from the collection.
-
removeComponentBindingAt
public ComponentBindingType removeComponentBindingAt(int index)
Method removeComponentBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeElementBinding
public boolean removeElementBinding(ComponentBindingType vElementBinding)
Method removeElementBinding.- Parameters:
vElementBinding
-- Returns:
- true if the object was removed from the collection.
-
removeElementBindingAt
public ComponentBindingType removeElementBindingAt(int index)
Method removeElementBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeEnumBinding
public boolean removeEnumBinding(ComponentBindingType vEnumBinding)
Method removeEnumBinding.- Parameters:
vEnumBinding
-- Returns:
- true if the object was removed from the collection.
-
removeEnumBindingAt
public ComponentBindingType removeEnumBindingAt(int index)
Method removeEnumBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeGroupBinding
public boolean removeGroupBinding(ComponentBindingType vGroupBinding)
Method removeGroupBinding.- Parameters:
vGroupBinding
-- Returns:
- true if the object was removed from the collection.
-
removeGroupBindingAt
public ComponentBindingType removeGroupBindingAt(int index)
Method removeGroupBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeInclude
public boolean removeInclude(IncludeType vInclude)
Method removeInclude.- Parameters:
vInclude
-- Returns:
- true if the object was removed from the collection.
-
removeIncludeAt
public IncludeType removeIncludeAt(int index)
Method removeIncludeAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removePackage
public boolean removePackage(PackageType vPackage)
Method removePackage.- Parameters:
vPackage
-- Returns:
- true if the object was removed from the collection.
-
removePackageAt
public PackageType removePackageAt(int index)
Method removePackageAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
removeSimpleTypeBinding
public boolean removeSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
Method removeSimpleTypeBinding.- Parameters:
vSimpleTypeBinding
-- Returns:
- true if the object was removed from the collection.
-
removeSimpleTypeBindingAt
public ComponentBindingType removeSimpleTypeBindingAt(int index)
Method removeSimpleTypeBindingAt.- Parameters:
index
-- Returns:
- the element removed from the collection
-
setAttributeBinding
public void setAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vAttributeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setAttributeBinding
public void setAttributeBinding(ComponentBindingType[] vAttributeBindingArray)
- Parameters:
vAttributeBindingArray
-
-
setAutomaticNaming
public void setAutomaticNaming(AutomaticNamingType automaticNaming)
Sets the value of field 'automaticNaming'.- Parameters:
automaticNaming
- the value of field 'automaticNaming'.
-
setComplexTypeBinding
public void setComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vComplexTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setComplexTypeBinding
public void setComplexTypeBinding(ComponentBindingType[] vComplexTypeBindingArray)
- Parameters:
vComplexTypeBindingArray
-
-
setComponentBinding
public void setComponentBinding(int index, ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vComponentBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setComponentBinding
public void setComponentBinding(ComponentBindingType[] vComponentBindingArray)
- Parameters:
vComponentBindingArray
-
-
setDefaultBindingType
public void setDefaultBindingType(BindingType defaultBindingType)
Sets the value of field 'defaultBindingType'.- Parameters:
defaultBindingType
- the value of field 'defaultBindingType'.
-
setElementBinding
public void setElementBinding(int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vElementBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setElementBinding
public void setElementBinding(ComponentBindingType[] vElementBindingArray)
- Parameters:
vElementBindingArray
-
-
setEnumBinding
public void setEnumBinding(int index, ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vEnumBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setEnumBinding
public void setEnumBinding(ComponentBindingType[] vEnumBindingArray)
- Parameters:
vEnumBindingArray
-
-
setGroupBinding
public void setGroupBinding(int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vGroupBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setGroupBinding
public void setGroupBinding(ComponentBindingType[] vGroupBindingArray)
- Parameters:
vGroupBindingArray
-
-
setInclude
public void setInclude(int index, IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vInclude
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setInclude
public void setInclude(IncludeType[] vIncludeArray)
- Parameters:
vIncludeArray
-
-
setNamingXML
public void setNamingXML(NamingXMLType namingXML)
Sets the value of field 'namingXML'.- Parameters:
namingXML
- the value of field 'namingXML'.
-
setPackage
public void setPackage(int index, PackageType vPackage) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vPackage
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setPackage
public void setPackage(PackageType[] vPackageArray)
- Parameters:
vPackageArray
-
-
setSimpleTypeBinding
public void setSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vSimpleTypeBinding
-- Throws:
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collection
-
setSimpleTypeBinding
public void setSimpleTypeBinding(ComponentBindingType[] vSimpleTypeBindingArray)
- Parameters:
vSimpleTypeBindingArray
-
-
unmarshalBinding
public static Binding unmarshalBinding(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshalBinding.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.Binding
- 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
public void validate() throws ValidationException
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-
-