当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
DTDProducer (NetBeans MDR API) - NetBeans API Javadoc 5.5.0
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.
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 |
DTDProducer
public DTDProducer()
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.