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
addElementBinding
public void addElementBinding(int index,
ComponentBindingType vElementBinding)
throws java.lang.IndexOutOfBoundsException
index
- vElementBinding
-
addElementBinding
public void addElementBinding(ComponentBindingType vElementBinding)
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
enumerateAttributeBinding
public java.util.Enumeration enumerateAttributeBinding()
enumerateComplexTypeBinding
public java.util.Enumeration enumerateComplexTypeBinding()
enumerateElementBinding
public java.util.Enumeration enumerateElementBinding()
enumerateGroupBinding
public java.util.Enumeration enumerateGroupBinding()
getAttributeBinding
public ComponentBindingType getAttributeBinding(int index)
throws java.lang.IndexOutOfBoundsException
getAttributeBindingCount
public int getAttributeBindingCount()
getComplexTypeBinding
public ComponentBindingType getComplexTypeBinding(int index)
throws java.lang.IndexOutOfBoundsException
getComplexTypeBindingCount
public int getComplexTypeBindingCount()
getComponentBindingTypeChoice
public ComponentBindingTypeChoice getComponentBindingTypeChoice()
Returns the value of field 'componentBindingTypeChoice'.
- the value of field 'componentBindingTypeChoice'.
getElementBinding
public ComponentBindingType getElementBinding(int index)
throws java.lang.IndexOutOfBoundsException
getElementBindingCount
public int getElementBindingCount()
getGroupBinding
public ComponentBindingType getGroupBinding(int index)
throws java.lang.IndexOutOfBoundsException
getGroupBindingCount
public int getGroupBindingCount()
getName
public java.lang.String getName()
Returns the value of field 'name'.
- the value of field 'name'.
isValid
public boolean isValid()
removeAllAttributeBinding
public void removeAllAttributeBinding()
removeAllComplexTypeBinding
public void removeAllComplexTypeBinding()
removeAllElementBinding
public void removeAllElementBinding()
removeAllGroupBinding
public void removeAllGroupBinding()
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[] complexTypeBindingArray)
complexTypeBindingArray
-
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
-
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'.