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
Binding
s from an XML Schema.
- Author:
- Brett McLaughlin
- Version: 1.0
Method Summary |
List | getBindings()
This is integral portion of the Binder . |
SchemaBinder
public SchemaBinder(Source source)
This constructor takes in a Source
to read an XML Schema from and allow generation of the
Binding
s from it.
- Parameters:
- source -
Source
to read input from.
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.