org.jfree.xml.generator
Class DescriptionGenerator

java.lang.Object
  extended by org.jfree.xml.generator.DescriptionGenerator

public final class DescriptionGenerator
extends Object

A utility application for generating class descriptions.


Constructor Summary
DescriptionGenerator()
           
 
Method Summary
static DescriptionModel generate(String source, Properties configuration, DescriptionModel model)
          Generates a DescriptionModel from the specified source.
static void writeMultiFile(String target, DescriptionModel model)
          Writes the class description model to multiple files.
static void writeSingleFile(String target, DescriptionModel model)
          Writes the class description model to a single file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptionGenerator

public DescriptionGenerator()
Method Detail

generate

public static DescriptionModel generate(String source,
                                        Properties configuration,
                                        DescriptionModel model)
Generates a DescriptionModel from the specified source.

Parameters:
source - the source directory.
configuration - the configuration properties.
model - the model (null permitted).
Returns:
A class description model.

writeSingleFile

public static void writeSingleFile(String target,
                                   DescriptionModel model)
                            throws IOException
Writes the class description model to a single file.

Parameters:
target - the target file name.
model - the class description model.
Throws:
IOException - if there is an I/O problem.

writeMultiFile

public static void writeMultiFile(String target,
                                  DescriptionModel model)
                           throws IOException
Writes the class description model to multiple files.

Parameters:
target - the target file name.
model - the class description model.
Throws:
IOException - if there is an I/O problem.


Copyright © 2009-2011 jtstand.com. All Rights Reserved.