org.enhydra.zeus
Interface Binder
- All Known Implementing Classes:
- BaseBinder
- public interface Binder
Binder
provides an interface for all constraint
representations to use. It defines the contract for conversion
between an arbitrary constraint representation (XML Schema, DTD,
Relax schema, etc) to a set of Zeus
Binding
s.
This interface also provides uniformity in the overall handling
of constraints; in other words, dealing with an XML Schema is
generally fundamentally different than dealing with a DTD.
However, working with a DTDBinder
is identical,
from an external perspective, to working with a
SchemaBinder
.
- Author:
- Brett McLaughlin
- Version: 1.0
Method Summary |
List | getBindings()
This is integral portion of the Binder . |
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 input representation (which could
be an XML Schema, DTD, Relax schema, etc.).
- Returns:
List
- the resultant
Binding
s from conversion of
constraints.- Throws:
IOException
- when errors in reading
input occur.