org.exolab.castor.builder

Interface BindingComponent

Known Implementing Classes:
XMLBindingComponent

public interface BindingComponent

This interface is the abstraction of any type of source that can interact with the Source Code Generator. From the Source Code Generator point of view, the source document used to generate Java source code is totally transparent and is not exposed.

Specific implementation of that class will represent the source document used. For instance when generating source code from an XML Schema, the source generator will interact with an XMLBindingComponent whereas when generating source code from an UML model object model, the source generator will interact with an UMLBindingComponent (This is obviously just an example, no UML Object Model has been as of today integrated in Castor).

A binding component can be of three different types:

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:40 $
Author:
Arnaud Blandin

Field Summary

static short
CLASS
static short
INTERFACE
static short
MEMBER

Method Summary

boolean
equals(Object object)
Returns true if the given Object is equal to this instance of BindingComponent.
String
getCollectionType()
Returns the name of collection type such as 'arraylist' in which we will store the different occurrences of the java member generated to represent that BindingComponent.
String
getExtends()
Returns the name of a super class for the current BindingComponent.
String[]
getImplements()
Returns an array of the different interface names implemented by the class that will represent the current BindingCompo