|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.xml.ComponentBindingType
public class ComponentBindingType
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.
Constructor Summary | |
---|---|
ComponentBindingType()
|
Method Summary | |
---|---|
void |
addAttributeBinding(ComponentBindingType vAttributeBinding)
|
void |
addAttributeBinding(int index,
ComponentBindingType vAttributeBinding)
|
void |
addComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
|
void |
addComplexTypeBinding(int index,
ComponentBindingType vComplexTypeBinding)
|
void |
addComponentBinding(ComponentBindingType vComponentBinding)
|
void |
addComponentBinding(int index,
ComponentBindingType vComponentBinding)
|
void |
addElementBinding(ComponentBindingType vElementBinding)
|
void |
addElementBinding(int index,
ComponentBindingType vElementBinding)
|
void |
addEnumBinding(ComponentBindingType vEnumBinding)
|
void |
addEnumBinding(int index,
ComponentBindingType vEnumBinding)
|
void |
addGroupBinding(ComponentBindingType vGroupBinding)
|
void |
addGroupBinding(int index,
ComponentBindingType vGroupBinding)
|
void |
addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
|
void |
addSimpleTypeBinding(int index,
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 |
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. |
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. |
ComponentBindingTypeChoice |
getComponentBindingTypeChoice()
Returns the value of field 'componentBindingTypeChoice'. |
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. |
java.lang.String |
getName()
Returns the value of field 'name'. |
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 |
iterateSimpleTypeBinding()
Method iterateSimpleTypeBinding. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAttributeBinding()
|
void |
removeAllComplexTypeBinding()
|
void |
removeAllComponentBinding()
|
void |
removeAllElementBinding()
|
void |
removeAllEnumBinding()
|
void |
removeAllGroupBinding()
|
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 |
removeSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
Method removeSimpleTypeBinding. |
ComponentBindingType |
removeSimpleTypeBindingAt(int index)
Method removeSimpleTypeBindingAt. |
void |
setAttributeBinding(ComponentBindingType[] vAttributeBindingArray)
|
void |
setAttributeBinding(int index,
ComponentBindingType vAttributeBinding)
|
void |
setComplexTypeBinding(ComponentBindingType[] vComplexTypeBindingArray)
|
void |
setComplexTypeBinding(int index,
ComponentBindingType vComplexTypeBinding)
|
void |
setComponentBinding(ComponentBindingType[] vComponentBindingArray)
|
void |
setComponentBinding(int index,
ComponentBindingType vComponentBinding)
|
void |
setComponentBindingTypeChoice(ComponentBindingTypeChoice componentBindingTypeChoice)
Sets the value of field 'componentBindingTypeChoice'. |
void |
setElementBinding(ComponentBindingType[] vElementBindingArray)
|
void |
setElementBinding(int index,
ComponentBindingType vElementBinding)
|
void |
setEnumBinding(ComponentBindingType[] vEnumBindingArray)
|
void |
setEnumBinding(int index,
ComponentBindingType vEnumBinding)
|
void |
setGroupBinding(ComponentBindingType[] vGroupBindingArray)
|
void |
setGroupBinding(int index,
ComponentBindingType vGroupBinding)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setSimpleTypeBinding(ComponentBindingType[] vSimpleTypeBindingArray)
|
void |
setSimpleTypeBinding(int index,
ComponentBindingType vSimpleTypeBinding)
|
static ComponentBindingType |
unmarshalComponentBindingType(java.io.Reader reader)
Method unmarshalComponentBindingType. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentBindingType()
Method Detail |
---|
public void addAttributeBinding(ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
vAttributeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
index
- vAttributeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComplexTypeBinding(ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
vComplexTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
index
- vComplexTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComponentBinding(ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
vComponentBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComponentBinding(int index, ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
index
- vComponentBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addElementBinding(ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
vElementBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addElementBinding(int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
index
- vElementBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEnumBinding(ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
vEnumBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEnumBinding(int index, ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
index
- vEnumBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addGroupBinding(ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
vGroupBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addGroupBinding(int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
index
- vGroupBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
vSimpleTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
index
- vSimpleTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateAttributeBinding()
public java.util.Enumeration enumerateComplexTypeBinding()
public java.util.Enumeration enumerateComponentBinding()
public java.util.Enumeration enumerateElementBinding()
public java.util.Enumeration enumerateEnumBinding()
public java.util.Enumeration enumerateGroupBinding()
public java.util.Enumeration enumerateSimpleTypeBinding()
public ComponentBindingType getAttributeBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getAttributeBinding()
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 getAttributeBindingCount()
public ComponentBindingType getComplexTypeBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getComplexTypeBinding()
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 getComplexTypeBindingCount()
public ComponentBindingType getComponentBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getComponentBinding()
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 getComponentBindingCount()
public ComponentBindingTypeChoice getComponentBindingTypeChoice()
public ComponentBindingType getElementBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getElementBinding()
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 getElementBindingCount()
public ComponentBindingType getEnumBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getEnumBinding()
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 getEnumBindingCount()
public ComponentBindingType getGroupBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getGroupBinding()
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 getGroupBindingCount()
public java.lang.String getName()
public ComponentBindingType getSimpleTypeBinding(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ComponentBindingType[] getSimpleTypeBinding()
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 getSimpleTypeBindingCount()
public boolean isValid()
public java.util.Iterator iterateAttributeBinding()
public java.util.Iterator iterateComplexTypeBinding()
public java.util.Iterator iterateComponentBinding()
public java.util.Iterator iterateElementBinding()
public java.util.Iterator iterateEnumBinding()
public java.util.Iterator iterateGroupBinding()
public java.util.Iterator iterateSimpleTypeBinding()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- 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
marshaling
ValidationException
- if this
object is an invalid instance according to the schema
MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAttributeBinding()
public void removeAllComplexTypeBinding()
public void removeAllComponentBinding()
public void removeAllElementBinding()
public void removeAllEnumBinding()
public void removeAllGroupBinding()
public void removeAllSimpleTypeBinding()
public boolean removeAttributeBinding(ComponentBindingType vAttributeBinding)
vAttributeBinding
-
public ComponentBindingType removeAttributeBindingAt(int index)
index
-
public boolean removeComplexTypeBinding(ComponentBindingType vComplexTypeBinding)
vComplexTypeBinding
-
public ComponentBindingType removeComplexTypeBindingAt(int index)
index
-
public boolean removeComponentBinding(ComponentBindingType vComponentBinding)
vComponentBinding
-
public ComponentBindingType removeComponentBindingAt(int index)
index
-
public boolean removeElementBinding(ComponentBindingType vElementBinding)
vElementBinding
-
public ComponentBindingType removeElementBindingAt(int index)
index
-
public boolean removeEnumBinding(ComponentBindingType vEnumBinding)
vEnumBinding
-
public ComponentBindingType removeEnumBindingAt(int index)
index
-
public boolean removeGroupBinding(ComponentBindingType vGroupBinding)
vGroupBinding
-
public ComponentBindingType removeGroupBindingAt(int index)
index
-
public boolean removeSimpleTypeBinding(ComponentBindingType vSimpleTypeBinding)
vSimpleTypeBinding
-
public ComponentBindingType removeSimpleTypeBindingAt(int index)
index
-
public void setAttributeBinding(int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
index
- vAttributeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAttributeBinding(ComponentBindingType[] vAttributeBindingArray)
vAttributeBindingArray
- public void setComplexTypeBinding(int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
index
- vComplexTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setComplexTypeBinding(ComponentBindingType[] vComplexTypeBindingArray)
vComplexTypeBindingArray
- public void setComponentBinding(int index, ComponentBindingType vComponentBinding) throws java.lang.IndexOutOfBoundsException
index
- vComponentBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setComponentBinding(ComponentBindingType[] vComponentBindingArray)
vComponentBindingArray
- public void setComponentBindingTypeChoice(ComponentBindingTypeChoice componentBindingTypeChoice)
componentBindingTypeChoice
- the value of field
'componentBindingTypeChoice'.public void setElementBinding(int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
index
- vElementBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setElementBinding(ComponentBindingType[] vElementBindingArray)
vElementBindingArray
- public void setEnumBinding(int index, ComponentBindingType vEnumBinding) throws java.lang.IndexOutOfBoundsException
index
- vEnumBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEnumBinding(ComponentBindingType[] vEnumBindingArray)
vEnumBindingArray
- public void setGroupBinding(int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
index
- vGroupBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setGroupBinding(ComponentBindingType[] vGroupBindingArray)
vGroupBindingArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.public void setSimpleTypeBinding(int index, ComponentBindingType vSimpleTypeBinding) throws java.lang.IndexOutOfBoundsException
index
- vSimpleTypeBinding
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSimpleTypeBinding(ComponentBindingType[] vSimpleTypeBindingArray)
vSimpleTypeBindingArray
- public static ComponentBindingType unmarshalComponentBindingType(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- 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 schema
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |