Alle Klassen und Schnittstellen
Klasse
Beschreibung
A base class for all ConfigurationProvider implementations.
A SAX Handler which handles for the action element in mergepoints.
A registry of ActionSaxHandlerFactories.
Classes implementing this interface are responsible for creating
ActionSaxHandler
s for a specific action type.A handler which implements the strategy to append the generation result
to the existing target files.
Applies an outlet to the matching element.
A SAX handler which reads the configuration for a ApplyAction
and creates and configures the Action according to the values in the
configuration XML.
A Factory which creates a SAX handler for an ApplyAction.
Adds or replaces attributes in a SourceElement according to a definition
file.
Converts a source element Attribute such that it can be used as method name.
Creates a String in CaMelBaCk case from a String with special characters
Transform a String to its camelback version.
Replaces characters by a String.
Stores Checksums and dates of the checksums, keyed by a String.
Helper for instantiating classes.
Provides InputStreams to read a configuration of a unit of generation from a
jar file.
The data retrieved about a column as read from JDBC Metadata.
A source which uses several files as input and combines them into one file.
Reads a configurable class from the controller configuration file.
The configuration class keeps the complete configuration needed for the
generation process.
A resolver to get the confoguration.xsd file for the XML parser from the jar.
This exception is thrown if the Torque generator cannot access its
configuration or if an error occurs accessing the configuration.
Contains the required handlers for reading the configuration.
Defines how the configuration for a generation unit can be accessed.
Creates the name of a constant from a string.
Creates the name of a constant from a string.
Represents the control configuration of a generation unit.
Reads the controller configuration from the controller configuration file.
Tag and attribute names for the control configuration files.
Parses the xml file which provides the control configuration.
Reads the configuration and generates the output accordingly.
This Exception is thrown when an error occurs within the Controller of
the Torque Generator.
Helper methods for the controller.
The state of the controller.
Fills an attribute with the content of another attribute.
A Outlet which copies a given resource unchanged.
Creates copy outlet SAX handlers.
Implementation of ProjectPaths with custom paths.
An outlet wrapper which adds debug information to the outlet.
The default organization of the torque-generator directory.
Provides InputStreams to read the configuration from a directory.
Dummy implementation of the LoggingAdapter interface.
Resolves system Ids for schema files to the schema file content.
Reads an entity reference from the controller configuration file.
A handler which implements a strategy on how to deal with existing targets.
An options configuration which reads options from a file.
Reads a file options configuration.
Selects Files in a directory and the subdirectories of the directory.
A Source which uses a file as input.
Contains sources which are read from files in the file system.
Reads file source definitions from the controller configuration file.
A Factory which creates a SAX handler for file sources.
The data about a foreign key as read from JDBC Metadata.
This exception is the superclass of all Exceptions thrown in the Torque
generator.
Takes a property name as input from a source element attribute
and generates a getter and a setter name from it.
A Outlet which uses groovy for generation.
Creates Groovy outlet SAX handlers.
A Outlet which uses a groovy script for generation.
A Outlet which uses a groovy template for generation.
The output type for HTML output.
Provides InputStreams to read a configuration of a unit of generation from a
jar file.
An outlet for creating correctly formatted javadoc.
Takes a class name and a package name as input and generates a
filename(including path for package) for a java file from it.
Creates Java outlet SAX handlers.
The output type for java output.
A source which reads the data from JDBC Metadata.
Creates a source from JDBC metadata.
Reads jdbc metadata source definitions from the controller configuration
file.
A Factory which creates a SAX handler for sources from JDBC Metadata.
A SourceTransformer which loads other sources into the current source graph.
A SourceTransformer which loads all sources which are defined in the current
output into the source graph.
Allows reading and setting the current loglevel using log4j2.
Allows reading and setting the current loglevel using log4j.
Allows reading and setting the current loglevel.
The possible log levels.
An option configuration in which the options are provided inside a java map.
Implementation of ProjectPaths if the configuration is located
in a directory of a maven 2 project.
Implementation of ProjectPaths if the configuration is located
in a jar file inside of a Maven 2 project.
Contains information of the default integration of the Torque generator
into a maven 2 project.
An merge point where the output of another outlet can be merged
into the text generated by a outlet.
An action which can be executed in a mergepoint.
The element and attribute names for mergepoint configuration.
A mapping between the name of an mergepoint and and the action which should
be performed at this point.
A SAX Handler which processes a mergepoint configuration in an outlet.
A handler which implements the strategy to replace existing target files.
Implements NodePointerFactory for JavaBeans.
A Pointer that points to a Java Object or a collection.
Pointer pointing to a property or field of a JavaBean.
Creates a target filename from a source filename.
An instance of this class represents a hierarchical namespace.
Creates new lines (\n or \r\n).
Indicates that an attempt was made to access a property which does not exist.
An option used in the code generation process.
Inserts the value of an option into a mergepoint.
A SAX handler which reads the configuration for a OptionAction
and creates and configures the Action according to the values in the
configuration XML.
A Factory which creates a SAX handler for an OptionAction.
The default implementation of the option Interface.
An interface for a class representing the name of an option.
Writes an option to the output.
A Store for all options.
The part of the configuration which provides information to set options.
A SAX handler for reading the options tag in the control configuration.
A registry of OptionsSaxHandlerFactories.
Classes implementing this interface are responsible for creating
OptionsSaxHandler
s for a specific action type.The element and attribute names for the option configuration.
Generates String output from the AST.
Administers the available Outlets.
A SAX handler which parses Outlet configuration files.
Tag names for the outlet configuration files.
Parses outlet configuration files and creates a OutletConfiguration.
Implementation of the features in the
Outlet
interface
which do not depend on type of Outlet.Represents a reference to a outlet.
Reads a Outlet reference file from the controller
configuration file.
The result of an outlet.
Handles a outlet declaration within the outlet configuration.
Manages the types of known Outlets.
Utility methods to retrieve information out of the source model or the
configuration.
An outlet without mergepoints.
The configuration for an output (typically one or more files).
Inserts a fixed String into a mergepoint.
A SAX handler which reads the configuration for a OutputAction
and creates and configures the Action according to the values in the
configuration XML.
A Factory which creates a SAX handler for an OutputAction.
The tag and attribute names used for configuring an Output unit.
Reads an output declaration from the controller configuration file.
An interface describing the type of output produced by the generator.
A Container of resources which contain a specific package.
Takes a package as input and generates a path from it.
All necessary informations for postprocessing the result.
Provides the default paths which Torque generator needs to interact with
its surrounding project.
An option configuration which reads the options from a properties file.
A Factory which creates a SAX handler for properties options.
The output type for properties output.
The source type representing an properties source.
Accesses properties of java classes by reflection.
Indicates that an attempt was made to read a property which is not readable.
Indicates that an attempt was made to write a property which is not
writeable.
This class contains a name which has a namespace.
A special map with a QualifiedName as a key.
Creates outlet SAX handlers using reflection and a naming convention.
Tries to remove unused imports
A handler which implements the strategy to replace existing target files.
Helper methods for SAX handlers.
Enum for known SQL types.
A class deciding whether the generation should be skipped or not.
A handler which implements the strategy to skip existing target files.
An entity which serves as an input for the generation process.
An interface for a class respresenting the name of a source attribute.
Contains tag and attribute names for the Source configuration.
An element in the source graph.
Applies an outlet to a given source element.
A SAX handler which reads the configuration for a
SourceElementAttributeAction and creates and configures the Action
according to the values in the configuration XML.
A Factory which creates a SAX handler for a SourceElementAttributeAction.
A node iterator iterating over attributes of a SourceElement.
A node pointer pointing to an attribute of a SourceElement.
An interface for a class respresenting the name of a source element.
A node iterator iterating over children of a SourceElement.
A node pointer pointing to a SourceElement.
A node pointer factory for SourceElements.
A Source transformer transforming a SourceElement graph to a typed model.
This exception denotes that the source cannot be read.
The base implementation of the source interface.
Methods for traversing a source tree.
A class containing the value and the path to an object in a model graph
Contains the information how a source should be processed between
obtaining the original source and feeding it to the outlets.
The input for a generation process.
A base class for reading source definitions from the controller
configuration file.
A registry of SourceSaxHandlerFactories.
Classes implementing this interface are responsible for creating
SourceSaxHandler
s for a specific source type.A transformer which has a source attribute and a target attribute.
Creates an xml String out of a source tree.
Transforms one source tree into another source tree.
All necessary informations for doing a transformation.
This exception is the superclass of all Exceptions thrown by
SourceTransformers.
A SkipDecider which always stops the current generation.
A format for a stream-based source, e.g. properties or XML.
A base class for a outlet which takes a String as input
(not a Source Element as a normal outlet would).
A processor which takes a String as input and generates a String
as output.
Converts a String to a Boolean.
An Filter which preprocesses a template.
A Outlet which interprets a template.
An implementation of the TemplateOutlet interface.
Can execute a three-way merge.
Replaces placeholder tokens like ${option:optionName} in a string by the
resolved values.
The paths describing the internal organization (i.e. file paths)
of the Torque generator files.
This class acts as an interface to the Torque generator from the
templates.
This class acts as an interface to the Torque generator from the
templates.
Traverses all matching elements, and applies a outlet to each matching
element.
A SAX handler which reads the configuration for a TraverseAllAction
and creates and configures the Action according to the values in the
configuration XML.
A Factory which creates a SAX handler for a TraverseAllAction.
Converts a type to another type.
Classes implementing this interface are responsible for creating
OutletSaxHandler
s for a specific outlet type.Contains all information to run a generation unit.
Contains all necessary information about a generation unit.
Possible packaging forms of a unit of generation.
Converts Windows CR/LF character sequences to Unix LF sequences.
An output type which is used if no other output type is defined.
An exception which is thrown if an option is not supported
or contains an unacceptable value.
Classes implementing this interface can create creating
OutletSaxHandler
s for more than one outlet type.A variable which can be used to transport data in and between outlets.
The scope of a variable.
Stores all variables which are currently accessible.
A Outlet which uses a velocity template for generation.
Creates Velocity outlet SAX handlers.
The outlet state of a velocity template outlet.
A Filter for velocity templates.
A filter evaluating a file name against a wildcard expression.
Processes an input String as follows: If the input String is a reserved word
in java, a suffix and/or prefix is appended to the input String and the
result is returned; otherwise the input string is returned unchanged.
Contains commonly used XML Namespaces and other constants.
An option configuration which reads the options from a XML file
in the java properties XML format.
A Factory which creates a SAX handler for XML Options.
Outputs the source tree as XML.
The output type for XML output.
The source type representing an XML source.
A SAX Handler for creating a source element tree from xml.