|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.codegen.XmlDocConsumer
public class XmlDocConsumer
Stores generated class files in a specified directory and creates HTML documenation.
| Constructor Summary | |
|---|---|
XmlDocConsumer(java.io.File classDir,
java.io.File docDir,
java.lang.String indexName)
Construcotor |
|
| Method Summary | |
|---|---|
void |
close()
Closes all files. |
void |
consume(org.apache.bcel.classfile.JavaClass javaClass)
Writes file to disk and also adds it to documentation |
GenerationListener |
getListener()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlDocConsumer(java.io.File classDir,
java.io.File docDir,
java.lang.String indexName)
throws GenerationException
classDir - Output directory for generated classes. Mandatory.docDir - Output directory for HTML documentation. Optional (can be null).indexName - Name of index file.
GenerationException| Method Detail |
|---|
public void consume(org.apache.bcel.classfile.JavaClass javaClass)
throws GenerationException
consume in interface ConsumerjavaClass - Class to save and document
GenerationException - If generated file could not be savedpublic GenerationListener getListener()
getListener in interface Consumerpublic void close()
close in interface DocumentingConsumer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||