org.jfree.xml.generator
Class SplittingModelWriter
A model writer that writes to multiple files.
static String | getPackage(Class c) - Returns the name of the package for the given class.
|
void | write(String target) - Writes the model to the specified target.
|
getModel , getSafeTags , getWriterSupport , setModel , write , writeClassDescription , writeCloseComment , writeComment , writeManualMapping , writeMultiplexMapping , writeOpenComment , writeStandardComment , writeTag , writeTag , writeXMLHeader |
getPackage
public static String getPackage(Class c)
Returns the name of the package for the given class. This is a
workaround for the classloader behaviour of JDK1.2.2 where no
package objects are created.
c
- the class for which we search the package.
- the name of the package, never null.
write
public void write(String target)
throws IOException
Writes the model to the specified target.
target
- the target file name.