org.enhydra.zeus.binder
Class DTDBinder
org.enhydra.zeus.binder.BaseBinder
|
+--org.enhydra.zeus.binder.DTDBinder
- public class DTDBinder
- extends BaseBinder
DTDBinder
implements the Binder
interface and allows generation of Zeus
Binding
s from a DTD.
- Author:
- Brett McLaughlin
- Version: 1.0
Method Summary |
List | getBindings()
This is integral portion of the Binder . |
DTDBinder
public DTDBinder(DTDSource source)
This constructor takes in a DTDSource
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 DTD.
- Returns:
List
- the resultant
Binding
s from conversion of
constraints.- Throws:
IOException
- when errors in reading
input occur.