org.enhydra.zeus.binder
Class SchemaBinder

org.enhydra.zeus.binder.BaseBinder
  |
  +--org.enhydra.zeus.binder.SchemaBinder

public class SchemaBinder
extends BaseBinder

SchemaBinder implements the Binder interface and allows generation of Zeus Bindings from an XML Schema.

Author:
Brett McLaughlin
Version: 1.0

Constructor Summary
SchemaBinder(Source source)
           This constructor takes in a Source to read an XML Schema from and allow generation of the Bindings from it.

Method Summary
 ListgetBindings()
           This is integral portion of the Binder.

Constructor Detail

SchemaBinder

public SchemaBinder(Source source)

This constructor takes in a Source to read an XML Schema from and allow generation of the Bindings from it.

Parameters:
source - Source to read input from.
Method Detail

getBindings

public List getBindings()
throws java.io.IOException

This is integral portion of the Binder. It is responsible for returning a Zeus representation of the set of constraints that this binding represents, resulting from the supplied XML Schema.

Returns: List - the resultant Bindings from conversion of constraints.
Throws:
IOException - when errors in reading input occur.