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.option |
This package contains classes handling options.
|
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.qname |
This package contains classes which provide the implementation
of a qualified name, i.e.
|
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.
|
org.apache.torque.generator.variable |
This package contains the variable handling.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
OutletReference.getName()
Returns the qualified name of the outlet.
|
QualifiedName |
Output.getName()
Returns the name by which this output can be identified.
|
Constructor and Description |
---|
OutletReference(QualifiedName name)
Constructor.
|
Output(QualifiedName name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<QualifiedName,Outlet> |
OutletConfiguration.getOutlets()
Returns a map containing all the configured outlets, keyed by their
name.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Outlet |
OutletSaxHandler.createOutlet(QualifiedName outletName,
String uri,
String localName,
String rawName,
Attributes attributes) |
Outlet |
OutletConfiguration.getOutlet(QualifiedName name)
Returns the outlet with the name
name . |
OutletSaxHandler |
OutletConfigurationSaxHandler.getOutletHandler(QualifiedName outletName,
String outletType)
Returns the correct handler for a outlet tag.
|
OutletSaxHandler |
CopyOutletSaxHandlerFactory.getOutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a JavaOutletSaxHandler for reading the configuration of
Java outlets.
|
OutletSaxHandler |
GroovyOutletSaxHandlerFactory.getOutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a GroovyOutletSaxHandler for reading the configuration of
Groovy outlets.
|
OutletSaxHandler |
JavaOutletSaxHandlerFactory.getOutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a JavaOutletSaxHandler for reading the configuration of
Java outlets.
|
OutletSaxHandler |
TypedOutletSaxHandlerFactory.getOutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a OutletSaxHandler for reading in the configuration of
a outlet.
|
OutletSaxHandler |
VelocityOutletSaxHandlerFactory.getOutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a VelocityOutletSaxHandler for reading the configuration of
Velocity outlets.
|
OutletSaxHandler |
ReflectionOutletSaxHandlerFactory.getOutletSaxHandler(String outletType,
QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a OutletSaxHandler for reading the configuration of
the outlet.
|
OutletSaxHandler |
UntypedOutletSaxHandlerFactory.getOutletSaxHandler(String outletType,
QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Returns a OutletSaxHandler for reading in the configuration of
a outlet.
|
boolean |
OutletConfiguration.outletExists(QualifiedName qualifiedName)
Returns whether a outlet for the given name exists.
|
Constructor and Description |
---|
OutletSaxHandler(QualifiedName outletName,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Creates a OutletSaxHandler.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
ControllerState.getQualifiedName(String name)
Converts a name to a QualifiedName, using the outlet namespace as
default namespace is none is given.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
Option.getQualifiedName()
Returns the qualified name of the option.
|
QualifiedName |
OptionImpl.getQualifiedName()
Returns the qualified name of the option.
|
Modifier and Type | Method and Description |
---|---|
Map<QualifiedName,Option> |
Options.getGlobalScope()
Returns a map containing all options in the global scope.
|
Collection<QualifiedName> |
Options.keySet()
Returns all options in a set.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Options.containsKey(QualifiedName key)
Checks if an option with the given key exists in any scope.
|
Option |
Options.getInHierarchy(QualifiedName key)
Returns the value of the option which is closest in Hierarchy.
|
Constructor and Description |
---|
OptionImpl(QualifiedName qualifiedName,
Object value)
Constructs an OptionImpl from a QualifiedaName and a value.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
DebuggingOutletWrapper.getName()
Returns the name of the delegate.
|
QualifiedName |
Outlet.getName()
Returns the name of the outlet.
|
QualifiedName |
OutletImpl.getName() |
Constructor and Description |
---|
OutletImpl(QualifiedName name)
Constructs a OutletImpl with the given name.
|
Constructor and Description |
---|
CopyOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path)
Constructs a new CopyOutlet.
|
Constructor and Description |
---|
CamelbackOutlet(QualifiedName qualifiedName)
Constructor.
|
ConstantNameOutlet(QualifiedName qualifiedName)
Constructor.
|
JavadocOutlet(QualifiedName qualifiedName)
Constructor.
|
JavaFilenameOutlet(QualifiedName qualifiedName)
Constructor.
|
ModifySourcenameOutlet(QualifiedName qualifiedName)
Constructor.
|
NewlineOutlet(QualifiedName name)
Constructor.
|
OptionOutlet(QualifiedName name)
Constructor.
|
OutletWithoutMergepoints(QualifiedName name)
Constructs a OutletWithoutMergepoints with the given name.
|
PackageToPathOutlet(QualifiedName qualifiedName)
Constructor for use in child classes.
|
StringInputOutlet(QualifiedName qualifiedName)
Constructs a singleInputOutlet.
|
XmlOutlet(QualifiedName name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
QualifiedNameMap.getKeyInHierarchy(QualifiedName key)
Returns the most specific key in the map which is visible
for the provided key.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<QualifiedName,T>> |
QualifiedNameMap.entrySet()
Returns all Entries in this map.
|
Set<QualifiedName> |
QualifiedNameMap.keySet()
Returns all keys of the map.
|
Modifier and Type | Method and Description |
---|---|
T |
QualifiedNameMap.getInHierarchy(QualifiedName key)
Returns the most specific entry in the map which is visible
for the provided key.
|
QualifiedName |
QualifiedNameMap.getKeyInHierarchy(QualifiedName key)
Returns the most specific key in the map which is visible
for the provided key.
|
T |
QualifiedNameMap.getMoreSpecific(T object1,
QualifiedName qualifiedName1,
T object2,
QualifiedName qualifiedName2)
Returns the more specific object out of two objects (the object
which hides the other object).
|
T |
QualifiedNameMap.put(QualifiedName key,
T value)
Creates or overwrites a mapping in the map.
|
Modifier and Type | Method and Description |
---|---|
void |
QualifiedNameMap.putAll(Map<? extends QualifiedName,? extends T> toPut)
Creates or overrides mappings for all the mappings in the supplied
map.
|
Constructor and Description |
---|
QualifiedNameMap(Map<? extends QualifiedName,? extends T> map)
Constructs a shallow copy of the supplied map.
|
Constructor and Description |
---|
TemplateOutletImpl(QualifiedName name,
ConfigurationProvider configurationProvider,
String path,
String encoding,
TemplateFilter templateFilter)
Constructs a TemplateOutletImpl with the given name.
|
Constructor and Description |
---|
GroovyOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path,
String encoding)
Constructs a new GroovyOutlet.
|
GroovyScriptOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path,
String encoding)
Constructs a new GroovyScriptOutlet.
|
GroovyTemplateOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path,
String encoding)
Constructs a new GroovyTemplateOutlet.
|
Constructor and Description |
---|
VelocityOutlet(QualifiedName name,
ConfigurationProvider configurationProvider,
String path,
String encoding)
Constructs a new VelocityTemplateOutlet.
|
Modifier and Type | Method and Description |
---|---|
QualifiedName |
Variable.getName()
Returns the name of the variable.
|
Modifier and Type | Method and Description |
---|---|
Variable |
VariableStore.getInHierarchy(QualifiedName key)
Returns the most specific variable which is visible from the key's
namespace and has the same name as the key's name.
|
Constructor and Description |
---|
Variable(QualifiedName name,
Object value,
Variable.Scope scope)
Constructor.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.