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

DTDProducer (NetBeans MDR API) - NetBeans API Javadoc 5.5.1

org.netbeans.api.mdr/1 1.4.31

org.netbeans.api.mdr
Class DTDProducer

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

org.netbeans.api.mdr/1 1.4.31

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