public class SplittingModelWriter extends ModelWriter
Constructor and Description |
---|
SplittingModelWriter()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPackage(java.lang.Class c)
Returns the name of the package for the given class.
|
void |
write(java.lang.String target)
Writes the model to the specified target.
|
getModel, getSafeTags, getWriterSupport, setModel, write, writeClassDescription, writeCloseComment, writeComment, writeManualMapping, writeMultiplexMapping, writeOpenComment, writeStandardComment, writeTag, writeTag, writeXMLHeader
public SplittingModelWriter()
public void write(java.lang.String target) throws java.io.IOException
target
- the target file name.java.io.IOException
- if there is an I/O problem.public static java.lang.String getPackage(java.lang.Class c)
c
- the class for which we search the package.