Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.mdr/1 1.4.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.api.mdr
Class DTDProducer

    java.lang.Object
      org.netbeans.api.mdr.DTDProducer

    public abstract class DTDProducer

extends Object

DTD generation utility. Provides a way to generate DTDs for a given metamodel. Use `getDefault()` method to get the default instance.

Constructor Summary
`DTDProducer()`

Method Summary
`abstract void` | `generate(OutputStream stream, javax.jmi.reflect.RefPackage extent)` Generates a DTD for a given extent into a provided output stream.
`static DTDProducer` | `getDefault()` Returns a default DTDProducer instance.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DTDProducer

    public DTDProducer()

Method Detail

### generate

    public abstract void generate(OutputStream stream,
                                  javax.jmi.reflect.RefPackage extent)

  Generates a DTD for a given extent into a provided output stream.

  Parameters:
    `stream` - Output stream to generate the DTD into.
    `extent` - Extent that the DTD should be generated from.

### getDefault

    public static DTDProducer getDefault()

  Returns a default DTDProducer instance.

  Returns:
    Default DTD producer.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.mdr/1 1.4.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.