xdoclet.sdk.xgg.binding
Class Binder

java.lang.Object
  |
  +--xdoclet.sdk.xgg.binding.Binder

public class Binder
extends Object

This class represents a DTD or an XSD.

Version:
$Revision: 1.5 $
Author:
Aslak Hellesøy, Christian Kvalheim

Constructor Summary
Binder()
          Constructor for the Binder object
Binder(XGGPlugin plugin)
          Deprecated. Don't use this constructor. It's for debugging only.
 
Method Summary
 Collection getElements()
          Returns a collection of Element objects, representing the DTD/XSD/RNG structure.
 void setConstraints(File constraints)
          Sets the DTD or XSD file to generate from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binder

public Binder()
Constructor for the Binder object


Binder

public Binder(XGGPlugin plugin)
Deprecated. Don't use this constructor. It's for debugging only.

Debug constructor

Parameters:
plugin -
Method Detail

getElements

public Collection getElements()
                       throws XDocletException
Returns a collection of Element objects, representing the DTD/XSD/RNG structure.

Returns:
a Collection of Element.
Throws:
XDocletException - Description of the Exception

setConstraints

public void setConstraints(File constraints)
                    throws XDocletException
Sets the DTD or XSD file to generate from.

Parameters:
constraints - the DTD or XSD file to generate from.
Throws:
XDocletException - Description of the Exception


Copyright © 2000-2003 XDoclet Team. All Rights Reserved.