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 Bindings from a DTD.

Author:
Brett McLaughlin
Version: 1.0

Constructor Summary
DTDBinder(DTDSource source)
           This constructor takes in a DTDSource 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

DTDBinder

public DTDBinder(DTDSource source)

This constructor takes in a DTDSource 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 DTD.

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