| java.lang.Object biz.hammurapi.codegen.XmlDocConsumer
XmlDocConsumer | public class XmlDocConsumer implements DocumentingConsumer(Code) | | Stores generated class files in a specified directory and creates HTML documenation.
author: Pavel Vlasov version: $Revision: 1.4 $ |
Constructor Summary | |
public | XmlDocConsumer(File classDir, File docDir, String indexName) Construcotor
Parameters: classDir - Output directory for generated classes. |
XmlDocConsumer | public XmlDocConsumer(File classDir, File docDir, String indexName) throws GenerationException(Code) | | Construcotor
Parameters: classDir - Output directory for generated classes. Mandatory. Parameters: docDir - Output directory for HTML documentation. Optional (can be null). Parameters: indexName - Name of index file. throws: GenerationException - |
close | public void close()(Code) | | Closes all files.
|
consume | public void consume(JavaClass javaClass) throws GenerationException(Code) | | Writes file to disk and also adds it to documentation
Parameters: javaClass - Class to save and document throws: GenerationException - If generated file could not be saved |
|
|