|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.generator.configuration.controller.Output
public class Output
The configuration for an output (typically one or more files).
Constructor Summary | |
---|---|
Output(QualifiedName name)
Constructor. |
Method Summary | |
---|---|
OutletReference |
getContentOutlet()
Returns the reference to the outlet which should produce the content. |
String |
getEncoding()
Returns the character encoding of the generated file(s). |
String |
getExistingTargetStrategy()
Returns the strategy how existing target files should be handled. |
String |
getFilename()
Returns the name of the file to generate. |
Outlet |
getFilenameOutlet()
Returns the reference to the outlet which should produce the file name. |
QualifiedName |
getName()
Returns the name by which this output can be identified. |
String |
getOutputDirKey()
Returns the key for the output directory into which the output is written. |
SourceProcessConfiguration |
getSourceProcessConfiguration()
Returns how the sources should be post-processed before generation. |
SourceProvider |
getSourceProvider()
Returns the source provider which provides the input for generating the output file's contents. |
void |
setContentOutlet(OutletReference contentOutlet)
Sets the reference to the outlet which should produce the content. |
void |
setEncoding(String encoding)
Sets the character encoding of the generated file(s). |
void |
setExistingTargetStrategy(String existingTargetStrategy)
Sets the strategy how existing target files should be handled. |
void |
setFilename(String filename)
Sets the name of the file to generate. |
void |
setFilenameOutlet(Outlet filenameOutlet)
Sets the reference to the outlet which should produce the file name. |
void |
setOutputDirKey(String outputKeyDir)
Sets the key for the output directory into which the output is written. |
void |
setSourceProcessConfiguration(SourceProcessConfiguration sourceProcessConfiguration)
Sets how the sources should be post-processed before generation. |
void |
setSourceProvider(SourceProvider sourceProvider)
Sets the source provider which provides the input for generating the output file's contents. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Output(QualifiedName name)
name
- the name by which this output can be identified.Method Detail |
---|
public QualifiedName getName()
public SourceProvider getSourceProvider()
public void setSourceProvider(SourceProvider sourceProvider)
sourceProvider
- the source provider which provides the input for
generation.public SourceProcessConfiguration getSourceProcessConfiguration()
public void setSourceProcessConfiguration(SourceProcessConfiguration sourceProcessConfiguration)
sourceProcessConfiguration
- the information about
post-processing the sources.public void setFilename(String filename)
filename
- the name of the file to generate.public String getFilename()
public OutletReference getContentOutlet()
public void setContentOutlet(OutletReference contentOutlet)
contentOutlet
- the reference to the outlet responsible
for producing the content.public Outlet getFilenameOutlet()
public void setFilenameOutlet(Outlet filenameOutlet)
filenameOutlet
- the reference to the outlet responsible
for producing the file name.public String getExistingTargetStrategy()
public void setExistingTargetStrategy(String existingTargetStrategy)
existingTargetStrategy
- the strategy name.public String getOutputDirKey()
public void setOutputDirKey(String outputKeyDir)
outputKeyDir
- the key for the output directory,
or null for the default output directory.public String getEncoding()
public void setEncoding(String encoding)
encoding
- The character encoding of the generated file,
or null for the platform default encoding.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |