Interface BindingComponent

All 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:

  • MEMBER: this type of BindingComponent will represent a java class member.
  • INTERFACE: this type of BindingComponent will represent a java interface.
  • CLASS: this type of BindingComponent will represent a java class.
Version:
$Revision$ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
Author:
Arnaud Blandin