public class JavaFilenameOutlet extends OutletImpl
| Modifier and Type | Field and Description | 
|---|---|
| static String | CLASSNAME_MERGEPOINT_NAMEThe name of the merge point which provides the file name. | 
| static String | PACKAGE_MERGEPOINT_NAMEThe name of the merge point which provides the class name. | 
| Constructor and Description | 
|---|
| JavaFilenameOutlet(QualifiedName qualifiedName)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| OutletResult | execute(ControllerState controllerState)Generates the output for this template into the Generated object. | 
addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toStringpublic static final String PACKAGE_MERGEPOINT_NAME
public static final String CLASSNAME_MERGEPOINT_NAME
public JavaFilenameOutlet(QualifiedName qualifiedName)
qualifiedName - the qualified name of the outlet, not null.public OutletResult execute(ControllerState controllerState) throws GeneratorException
Outletexecute in interface Outletexecute in class OutletImplcontrollerState - the current controller state, not null.GeneratorException - if generation fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.