Class PackageToPathOutlet
java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
org.apache.torque.generator.outlet.java.StringInputOutlet
org.apache.torque.generator.outlet.java.PackageToPathOutlet
- All Implemented Interfaces:
Outlet
Takes a package as input and generates a path from it.
-
Constructor Summary
ConstructorsConstructorDescriptionPackageToPathOutlet(QualifiedName qualifiedName) Constructor for use in child classes. -
Method Summary
Modifier and TypeMethodDescriptionexecute(ControllerState controllerState) Reads the input and replaces all dots by slashes.Methods inherited from class org.apache.torque.generator.outlet.java.StringInputOutlet
getInput, setInputOption, setInputSourceElement, setInputValue, setInputVariable, setSourceElementAttributeMethods inherited from class org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
addMergepointMapping, getMergepointMappingMethods inherited from class org.apache.torque.generator.outlet.OutletImpl
afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
-
Constructor Details
-
PackageToPathOutlet
Constructor for use in child classes.- Parameters:
qualifiedName- the fully qualified name of the outlet.
-
-
Method Details
-
execute
Reads the input and replaces all dots by slashes.- 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.- See Also:
-