Class XMLBindingComponent

java.lang.Object
org.exolab.castor.builder.binding.XMLBindingComponent
All Implemented Interfaces:
BindingComponent

public final class XMLBindingComponent extends Object implements BindingComponent
This class is the implementation of BindingComponent from an XML Schema point of view. This specific implementation wraps an XML Schema annotated structure.

The XML Schema structure can be only of four different types:

  • Element: it represents an XML Schema element.
  • ComplexType: it represents an XML Schema complexType.
  • ModelGroup: it represents an XML Schema Model group definition.
  • Group: it represents an XML Schema Model Group.

The three first items can be customized using a binding file. Thus the XMLBindingComponent class takes into account the presence or not of a custom binding document in the computation of the needed information for the Source Generator to generate java classes from an XML Schema.

The customizable items are detailled in the binding file documentation.

This class acts like a window on a particular XML Schema structure that the user controls by changing the view on the Annotated Structure he is interested in.

Version:
$Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Arnaud Blandin, Keith Visco
See Also: