Public Member Functions | Static Public Member Functions

org.exolab.castor.builder.binding.Binding Class Reference

Inheritance diagram for org.exolab.castor.builder.binding.Binding:
org.exolab.castor.builder.binding.ExtendedBinding

List of all members.

Public Member Functions

 Binding ()
void addAttributeBinding (ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
void addAttributeBinding (int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
void addComplexTypeBinding (ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
void addComplexTypeBinding (int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
void addElementBinding (ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
void addElementBinding (int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
void addGroupBinding (ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
void addGroupBinding (int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
void addInclude (IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
void addInclude (int index, IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
void addPackage (PackageType vPackage) throws java.lang.IndexOutOfBoundsException
void addPackage (int index, PackageType vPackage) throws java.lang.IndexOutOfBoundsException
java.util.Enumeration enumerateAttributeBinding ()
java.util.Enumeration enumerateComplexTypeBinding ()
java.util.Enumeration enumerateElementBinding ()
java.util.Enumeration enumerateGroupBinding ()
java.util.Enumeration enumerateInclude ()
java.util.Enumeration enumeratePackage ()
ComponentBindingType getAttributeBinding (int index) throws java.lang.IndexOutOfBoundsException
ComponentBindingType[] getAttributeBinding ()
int getAttributeBindingCount ()
ComponentBindingType getComplexTypeBinding (int index) throws java.lang.IndexOutOfBoundsException
ComponentBindingType[] getComplexTypeBinding ()
int getComplexTypeBindingCount ()
org.exolab.castor.builder.binding.types.BindingType getDefaultBindingType ()
ComponentBindingType getElementBinding (int index) throws java.lang.IndexOutOfBoundsException
ComponentBindingType[] getElementBinding ()
int getElementBindingCount ()
ComponentBindingType getGroupBinding (int index) throws java.lang.IndexOutOfBoundsException
ComponentBindingType[] getGroupBinding ()
int getGroupBindingCount ()
IncludeType getInclude (int index) throws java.lang.IndexOutOfBoundsException
IncludeType[] getInclude ()
int getIncludeCount ()
NamingXMLType getNamingXML ()
PackageType getPackage (int index) throws java.lang.IndexOutOfBoundsException
PackageType[] getPackage ()
int getPackageCount ()
boolean isValid ()
void marshal (java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void marshal (org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void removeAllAttributeBinding ()
void removeAllComplexTypeBinding ()
void removeAllElementBinding ()
void removeAllGroupBinding ()
void removeAllInclude ()
void removeAllPackage ()
ComponentBindingType removeAttributeBinding (int index)
ComponentBindingType removeComplexTypeBinding (int index)
ComponentBindingType removeElementBinding (int index)
ComponentBindingType removeGroupBinding (int index)
IncludeType removeInclude (int index)
PackageType removePackage (int index)
void setAttributeBinding (int index, ComponentBindingType vAttributeBinding) throws java.lang.IndexOutOfBoundsException
void setAttributeBinding (ComponentBindingType[] attributeBindingArray)
void setComplexTypeBinding (int index, ComponentBindingType vComplexTypeBinding) throws java.lang.IndexOutOfBoundsException
void setComplexTypeBinding (ComponentBindingType[] complexTypeBindingArray)
void setDefaultBindingType (org.exolab.castor.builder.binding.types.BindingType defaultBindingType)
void setElementBinding (int index, ComponentBindingType vElementBinding) throws java.lang.IndexOutOfBoundsException
void setElementBinding (ComponentBindingType[] elementBindingArray)
void setGroupBinding (int index, ComponentBindingType vGroupBinding) throws java.lang.IndexOutOfBoundsException
void setGroupBinding (ComponentBindingType[] groupBindingArray)
void setInclude (int index, IncludeType vInclude) throws java.lang.IndexOutOfBoundsException
void setInclude (IncludeType[] includeArray)
void setNamingXML (NamingXMLType namingXML)
void setPackage (int index, PackageType vPackage) throws java.lang.IndexOutOfBoundsException
void setPackage (PackageType[] _packageArray)
void validate () throws org.exolab.castor.xml.ValidationException

Static Public Member Functions

static
org.exolab.castor.builder.binding.Binding 
unmarshalBinding (java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException

Detailed Description

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:
1.1.1.1
Date:
2003/03/03 07:07:48

Constructor & Destructor Documentation

org.exolab.castor.builder.binding.Binding.Binding (  ) 

Member Function Documentation

void org.exolab.castor.builder.binding.Binding.addAttributeBinding ( ComponentBindingType  vAttributeBinding  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addAttributeBinding ( int  index,
ComponentBindingType  vAttributeBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vAttributeBinding 
void org.exolab.castor.builder.binding.Binding.addComplexTypeBinding ( int  index,
ComponentBindingType  vComplexTypeBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vComplexTypeBinding 
void org.exolab.castor.builder.binding.Binding.addComplexTypeBinding ( ComponentBindingType  vComplexTypeBinding  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addElementBinding ( ComponentBindingType  vElementBinding  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addElementBinding ( int  index,
ComponentBindingType  vElementBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vElementBinding 
void org.exolab.castor.builder.binding.Binding.addGroupBinding ( int  index,
ComponentBindingType  vGroupBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vGroupBinding 
void org.exolab.castor.builder.binding.Binding.addGroupBinding ( ComponentBindingType  vGroupBinding  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addInclude ( IncludeType  vInclude  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addInclude ( int  index,
IncludeType  vInclude 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vInclude 
void org.exolab.castor.builder.binding.Binding.addPackage ( PackageType  vPackage  )  throws java.lang.IndexOutOfBoundsException
void org.exolab.castor.builder.binding.Binding.addPackage ( int  index,
PackageType  vPackage 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vPackage 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumerateAttributeBinding (  ) 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumerateComplexTypeBinding (  ) 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumerateElementBinding (  ) 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumerateGroupBinding (  ) 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumerateInclude (  ) 
java.util.Enumeration org.exolab.castor.builder.binding.Binding.enumeratePackage (  ) 
ComponentBindingType org.exolab.castor.builder.binding.Binding.getAttributeBinding ( int  index  )  throws java.lang.IndexOutOfBoundsException
ComponentBindingType [] org.exolab.castor.builder.binding.Binding.getAttributeBinding (  ) 
int org.exolab.castor.builder.binding.Binding.getAttributeBindingCount (  ) 
ComponentBindingType org.exolab.castor.builder.binding.Binding.getComplexTypeBinding ( int  index  )  throws java.lang.IndexOutOfBoundsException
ComponentBindingType [] org.exolab.castor.builder.binding.Binding.getComplexTypeBinding (  ) 
int org.exolab.castor.builder.binding.Binding.getComplexTypeBindingCount (  ) 
ComponentBindingType org.exolab.castor.builder.binding.Binding.getElementBinding ( int  index  )  throws java.lang.IndexOutOfBoundsException
ComponentBindingType [] org.exolab.castor.builder.binding.Binding.getElementBinding (  ) 
int org.exolab.castor.builder.binding.Binding.getElementBindingCount (  ) 
ComponentBindingType org.exolab.castor.builder.binding.Binding.getGroupBinding ( int  index  )  throws java.lang.IndexOutOfBoundsException
ComponentBindingType [] org.exolab.castor.builder.binding.Binding.getGroupBinding (  ) 
int org.exolab.castor.builder.binding.Binding.getGroupBindingCount (  ) 
IncludeType org.exolab.castor.builder.binding.Binding.getInclude ( int  index  )  throws java.lang.IndexOutOfBoundsException
IncludeType [] org.exolab.castor.builder.binding.Binding.getInclude (  ) 
int org.exolab.castor.builder.binding.Binding.getIncludeCount (  ) 
NamingXMLType org.exolab.castor.builder.binding.Binding.getNamingXML (  ) 
PackageType org.exolab.castor.builder.binding.Binding.getPackage ( int  index  )  throws java.lang.IndexOutOfBoundsException
PackageType [] org.exolab.castor.builder.binding.Binding.getPackage (  ) 
int org.exolab.castor.builder.binding.Binding.getPackageCount (  ) 
boolean org.exolab.castor.builder.binding.Binding.isValid (  ) 
void org.exolab.castor.builder.binding.Binding.marshal ( java.io.Writer  out  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
Parameters:
out 
void org.exolab.castor.builder.binding.Binding.marshal ( org.xml.sax.ContentHandler  handler  )  throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
Parameters:
handler 
void org.exolab.castor.builder.binding.Binding.removeAllAttributeBinding (  ) 
void org.exolab.castor.builder.binding.Binding.removeAllComplexTypeBinding (  ) 
void org.exolab.castor.builder.binding.Binding.removeAllElementBinding (  ) 
void org.exolab.castor.builder.binding.Binding.removeAllGroupBinding (  ) 
void org.exolab.castor.builder.binding.Binding.removeAllInclude (  ) 
void org.exolab.castor.builder.binding.Binding.removeAllPackage (  ) 
ComponentBindingType org.exolab.castor.builder.binding.Binding.removeAttributeBinding ( int  index  ) 
Parameters:
index 
ComponentBindingType org.exolab.castor.builder.binding.Binding.removeComplexTypeBinding ( int  index  ) 
Parameters:
index 
ComponentBindingType org.exolab.castor.builder.binding.Binding.removeElementBinding ( int  index  ) 
Parameters:
index 
ComponentBindingType org.exolab.castor.builder.binding.Binding.removeGroupBinding ( int  index  ) 
Parameters:
index 
IncludeType org.exolab.castor.builder.binding.Binding.removeInclude ( int  index  ) 
Parameters:
index 
PackageType org.exolab.castor.builder.binding.Binding.removePackage ( int  index  ) 
Parameters:
index 
void org.exolab.castor.builder.binding.Binding.setAttributeBinding ( ComponentBindingType[]  attributeBindingArray  ) 
Parameters:
attributeBindingArray 
void org.exolab.castor.builder.binding.Binding.setAttributeBinding ( int  index,
ComponentBindingType  vAttributeBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vAttributeBinding 
void org.exolab.castor.builder.binding.Binding.setComplexTypeBinding ( int  index,
ComponentBindingType  vComplexTypeBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vComplexTypeBinding 
void org.exolab.castor.builder.binding.Binding.setComplexTypeBinding ( ComponentBindingType[]  complexTypeBindingArray  ) 
Parameters:
complexTypeBindingArray 
void org.exolab.castor.builder.binding.Binding.setDefaultBindingType ( org.exolab.castor.builder.binding.types.BindingType  defaultBindingType  ) 

Sets the value of field 'defaultBindingType'.

Parameters:
defaultBindingType the value of field 'defaultBindingType'.

Referenced by org.exolab.castor.builder.binding.BindingDescriptor.BindingDescriptor(), and org.exolab.castor.builder.binding.BindingLoader.loadBinding().

void org.exolab.castor.builder.binding.Binding.setElementBinding ( ComponentBindingType[]  elementBindingArray  ) 
Parameters:
elementBindingArray 
void org.exolab.castor.builder.binding.Binding.setElementBinding ( int  index,
ComponentBindingType  vElementBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vElementBinding 
void org.exolab.castor.builder.binding.Binding.setGroupBinding ( int  index,
ComponentBindingType  vGroupBinding 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vGroupBinding 
void org.exolab.castor.builder.binding.Binding.setGroupBinding ( ComponentBindingType[]  groupBindingArray  ) 
Parameters:
groupBindingArray 
void org.exolab.castor.builder.binding.Binding.setInclude ( IncludeType[]  includeArray  ) 
Parameters:
includeArray 
void org.exolab.castor.builder.binding.Binding.setInclude ( int  index,
IncludeType  vInclude 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vInclude 
void org.exolab.castor.builder.binding.Binding.setNamingXML ( NamingXMLType  namingXML  ) 

Sets the value of field 'namingXML'.

Parameters:
namingXML the value of field 'namingXML'.

Referenced by org.exolab.castor.builder.binding.BindingDescriptor.BindingDescriptor(), and org.exolab.castor.builder.binding.BindingLoader.loadBinding().

void org.exolab.castor.builder.binding.Binding.setPackage ( int  index,
PackageType  vPackage 
) throws java.lang.IndexOutOfBoundsException
Parameters:
index 
vPackage 
void org.exolab.castor.builder.binding.Binding.setPackage ( PackageType[]  _packageArray  ) 
Parameters:
_packageArray 
static org.exolab.castor.builder.binding.Binding org.exolab.castor.builder.binding.Binding.unmarshalBinding ( java.io.Reader  reader  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [static]
Parameters:
reader 
void org.exolab.castor.builder.binding.Binding.validate (  )  throws org.exolab.castor.xml.ValidationException

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties