站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

DTDProducer (NetBeans MDR API) - NetBeans API Javadoc 5.0.0

 

org.netbeans.api.mdr
Class DTDProducer

java.lang.Object
  extended byorg.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.

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.