Class JavaFilenameOutlet
java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.JavaFilenameOutlet
- All Implemented Interfaces:
Outlet
Takes a class name and a package name as input and generates a
filename(including path for package) for a java file from it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ControllerState controllerState) Generates the output for this template into the Generated object.Methods inherited from class org.apache.torque.generator.outlet.OutletImpl
addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
-
Field Details
-
PACKAGE_MERGEPOINT_NAME
The name of the merge point which provides the class name.- See Also:
-
CLASSNAME_MERGEPOINT_NAME
The name of the merge point which provides the file name.- See Also:
-
-
Constructor Details
-
JavaFilenameOutlet
Constructor.- Parameters:
qualifiedName- the qualified name of the outlet, not null.
-
-
Method Details
-
execute
Description copied from interface:OutletGenerates the output for this template into the Generated object.- Specified by:
executein interfaceOutlet- Specified by:
executein classOutletImpl- Parameters:
controllerState- the current controller state, not null.- Returns:
- the output of the Outlet.
- Throws:
GeneratorException- if generation fails.
-