All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.xmldbms.maps.utils.DTDGenerator

java.lang.Object
   |
   +----org.xmlmiddleware.xmldbms.maps.utils.DTDGenerator

public class DTDGenerator
extends Object
Generate a DTD object.

This class generates a DTD object capable of representing documents that can use the map. The DTD is generated as follows:

Version:
2.0
Author:
Ronald Bourret, 2002

Constructor Index

 o DTDGenerator()
Construct a new DTDGenerator.

Method Index

 o getDTD(XMLDBMSMap)
Gets a DTD that can be used with instance documents that use the map.

Constructors

 o DTDGenerator
 public DTDGenerator()
Construct a new DTDGenerator.

Methods

 o getDTD
 public DTD getDTD(XMLDBMSMap map) throws XMLMiddlewareException
Gets a DTD that can be used with instance documents that use the map.

Parameters:
map - The map
Returns:
A DTD object
Throws: XMLMiddlewareException
Thrown if the XMLDBMSMap needs structures that cannot be represented in a DTD.

All Packages  Class Hierarchy  This Package  Previous  Next  Index