org.jfree.xml.generator
Class DescriptionGenerator
java.lang.Object
org.jfree.xml.generator.DescriptionGenerator
A utility application for generating class descriptions.
generate
public static DescriptionModel generate(String source,
Properties configuration,
DescriptionModel model)
source
- the source directory.configuration
- the configuration properties.model
- the model (null
permitted).
- A class description model.
main
public static void main(String[] args)
throws Exception
Runs the generator, using the 'generator.properties' file for configuration info.
args
- command line arguments.
writeMultiFile
public static void writeMultiFile(String target,
DescriptionModel model)
throws IOException
Writes the class description model to multiple files.
target
- the target file name.model
- the class description model.
writeSingleFile
public static void writeSingleFile(String target,
DescriptionModel model)
throws IOException
Writes the class description model to a single file.
target
- the target file name.model
- the class description model.