Package | Description |
---|---|
org.apache.torque.generator.configuration.controller |
This package contains the classes for reading the control configuration of
the Torque generator units of generation.
|
org.apache.torque.generator.configuration.outlet |
This package contains the classes for reading the outlet mappings for
torque-generator's units of generation.
|
org.apache.torque.generator.control |
This package implements the torque generator Controller .
|
org.apache.torque.generator.outlet |
This package defines torque generator outlets which produce output
snippets from the source.
|
org.apache.torque.generator.outlet.copy |
This package defines and implements copy outlets.
|
org.apache.torque.generator.outlet.java |
This package defines java outlets and provides some implementations.
|
org.apache.torque.generator.template |
This package contains the handling of template-based outlets
in the Torque generator.
|
org.apache.torque.generator.template.groovy |
This package contains the handling of groovy outlets in the
Torque generator.
|
org.apache.torque.generator.template.velocity |
This package contains the handling of velocity outlets in the
Torque generator.
|
Modifier and Type | Method and Description |
---|---|
Outlet |
Output.getFilenameOutlet()
Returns the reference to the outlet which should produce
the file name.
|
Modifier and Type | Method and Description |
---|---|
void |
Output.setFilenameOutlet(Outlet filenameOutlet)
Sets the reference to the outlet which should produce
the file name.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Outlet |
OutletSaxHandler.createOutlet(QualifiedName outletName,
String uri,
String localName,
String rawName,
Attributes attributes) |
Outlet |
CopyOutletSaxHandlerFactory.createOutletForTemplate(String templatePath,
ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.
|
Outlet |
GroovyOutletSaxHandlerFactory.createOutletForTemplate(String templatePath,
ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.
|
Outlet |
JavaOutletSaxHandlerFactory.createOutletForTemplate(String templatePath,
ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.
|
Outlet |
TypedOutletSaxHandlerFactory.createOutletForTemplate(String templatePath,
ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.
|
Outlet |
VelocityOutletSaxHandlerFactory.createOutletForTemplate(String templatePath,
ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.
|
Outlet |
OutletSaxHandler.getOutlet()
Returns the outlet being configured.
|
Outlet |
OutletConfiguration.getOutlet(QualifiedName name)
Returns the outlet with the name
name . |
Modifier and Type | Method and Description |
---|---|
Map<QualifiedName,Outlet> |
OutletConfiguration.getOutlets()
Returns a map containing all the configured outlets, keyed by their
name.
|
List<Outlet> |
OutletConfigurationSaxHandler.getOutlets()
Returns all outlets which were configured in the parsed outlet
configuration file.
|
Modifier and Type | Method and Description |
---|---|
void |
OutletConfiguration.addOutlet(Outlet outlet,
UnitDescriptor unitDescriptor)
Adds a outlet.
|
Constructor and Description |
---|
OutletConfiguration(Collection<Outlet> outlets,
Collection<MergepointMapping> mergepointMappings,
UnitDescriptor unitDescriptor)
Creates a OutletConfiguration containing a list of Outlets.
|
Modifier and Type | Method and Description |
---|---|
Outlet |
ControllerState.getOutlet()
Returns the topmost outlet in the stack of outlets.
|
Outlet |
ControllerState.popOutlet()
Pops the topmost outlets from the stack of outlets.
|
Modifier and Type | Method and Description |
---|---|
void |
ControllerState.pushOutlet(Outlet outlet)
Pushes a outlet onto the stack of outlets.
|
Modifier and Type | Class and Description |
---|---|
class |
DebuggingOutletWrapper
An outlet wrapper which adds debug information to the outlet.
|
class |
OutletImpl
Implementation of the features in the
Outlet interface
which do not depend on type of Outlet. |
Constructor and Description |
---|
DebuggingOutletWrapper(Outlet delegate)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
CopyOutlet
A Outlet which copies a given resource unchanged.
|
Modifier and Type | Class and Description |
---|---|
class |
CamelbackOutlet
Transform a String to its camelback version.
|
class |
ConstantNameOutlet
Creates the name of a constant from a string.
|
class |
JavadocOutlet
An outlet for creating correctly formatted javadoc.
|
class |
JavaFilenameOutlet
Takes a class name and a package name as input and generates a
filename(including path for package) for a java file from it.
|
class |
ModifySourcenameOutlet
Creates a target filename from a source filename.
|
class |
NewlineOutlet
Creates new lines (\n or \r\n).
|
class |
OptionOutlet
Writes an option to the output.
|
class |
OutletWithoutMergepoints
An outlet without mergepoints.
|
class |
PackageToPathOutlet
Takes a package as input and generates a path from it.
|
class |
StringInputOutlet
A base class for a outlet which takes a String as input
(not a Source Element as a normal outlet would).
|
class |
XmlOutlet
Outputs the source tree as XML.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TemplateOutlet
A Outlet which interprets a template.
|
Modifier and Type | Class and Description |
---|---|
class |
TemplateOutletImpl
An implementation of the TemplateOutlet interface.
|
Modifier and Type | Class and Description |
---|---|
class |
GroovyOutlet
A Outlet which uses groovy for generation.
|
class |
GroovyScriptOutlet
A Outlet which uses a groovy script for generation.
|
class |
GroovyTemplateOutlet
A Outlet which uses a groovy template for generation.
|
Modifier and Type | Class and Description |
---|---|
class |
VelocityOutlet
A Outlet which uses a velocity template for generation.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.