| Package | Description | 
|---|---|
| org.apache.torque.generator.configuration | 
      This package contains the classes for configuring the Torque generator. | 
| 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.mergepoint | 
      This package contains the classes for reading the mergepoint mappings for
      the Torque generator units of generation. | 
| org.apache.torque.generator.configuration.option | 
      This package contains the classes for reading the options for
      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.configuration.source | 
      This package provides SAXhandlers for reading the source configuration
      snippets in the control file. | 
| 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.source | 
      This package contains the handling of source files. | 
| org.apache.torque.generator.source.jdbc | 
      This package implements sources which read from jdbc. | 
| org.apache.torque.generator.source.stream | 
      This package contains the handling of stream-based sources, 
      such as file sources. | 
| 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 | 
|---|---|
| InputStream | AbstractConfigurationProvider. getControlConfigurationInputStream() | 
| InputStream | ConfigurationProvider. getControlConfigurationInputStream()Creates a reader to access the control configuration. | 
| String | ConfigurationProvider. getControlConfigurationLocation()Returns the location of the control configuration as human readable
 String for debugging and error tracking purposes. | 
| String | DirectoryConfigurationProvider. getControlConfigurationLocation() | 
| String | JarConfigurationProvider. getControlConfigurationLocation() | 
| protected abstract InputStream | AbstractConfigurationProvider. getInputStream(String name,
              String directory,
              String fileDescription) | 
| protected InputStream | ClasspathConfigurationProvider. getInputStream(String name,
              String directory,
              String fileDescription) | 
| protected InputStream | DirectoryConfigurationProvider. getInputStream(String name,
              String directory,
              String description) | 
| protected InputStream | JarConfigurationProvider. getInputStream(String name,
              String directory,
              String description) | 
| static Object | ClassHelper. getInstance(String className,
           Class<?> isInstanceOf,
           UnitDescriptor unitDescriptor)Creates an instance of a class and checks whether it can be casted
 to another class | 
| InputStream | AbstractConfigurationProvider. getOptionsInputStream(String name) | 
| InputStream | ConfigurationProvider. getOptionsInputStream(String name)Creates a reader to access an options file. | 
| InputStream | AbstractConfigurationProvider. getOutletConfigurationInputStream(String name) | 
| InputStream | ConfigurationProvider. getOutletConfigurationInputStream(String name)Creates a reader to access the configuration for one outlet. | 
| Collection<String> | ClasspathConfigurationProvider. getOutletConfigurationNames() | 
| Collection<String> | ConfigurationProvider. getOutletConfigurationNames()Returns a list of all found outlet configuration files in the
 generation unit. | 
| Collection<String> | DirectoryConfigurationProvider. getOutletConfigurationNames() | 
| Collection<String> | JarConfigurationProvider. getOutletConfigurationNames() | 
| InputStream | AbstractConfigurationProvider. getResourceInputStream(String name) | 
| InputStream | ConfigurationProvider. getResourceInputStream(String path)Creates a reader to access a resource file. | 
| InputStream | AbstractConfigurationProvider. getTemplateInputStream(String name) | 
| InputStream | ConfigurationProvider. getTemplateInputStream(String name)Creates a reader to access a template. | 
| Collection<String> | ClasspathConfigurationProvider. getTemplateNames() | 
| Collection<String> | ConfigurationProvider. getTemplateNames()Lists all available template names. | 
| Collection<String> | DirectoryConfigurationProvider. getTemplateNames() | 
| Collection<String> | JarConfigurationProvider. getTemplateNames() | 
| void | Configuration. read()Reads the configuration. | 
| void | OutletTypes. registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)Registers a handler for a new type of outlets. | 
| void | OutletTypes. registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory)Registers a untyped handler. | 
| Constructor and Description | 
|---|
| JarConfigurationProvider(ProjectPaths projectPaths,
                        TorqueGeneratorPaths configurationPaths)Constructor. | 
| PackageResources(String packageToFind,
                ClassLoader classLoader)Constructor, finds the resources for a certain package. | 
| Modifier and Type | Method and Description | 
|---|---|
| ControlConfiguration | ControlConfigurationXmlParser. readControllerConfiguration(ConfigurationProvider configurationProvider,
                           UnitDescriptor unitDescriptor,
                           ConfigurationHandlers configurationHandlers)Reads the controller configuration out of a configurationProvider. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ActionSaxHandlerFactories. register(ActionSaxHandlerFactory factory)Registers a handler for a new action type. | 
| void | OptionsSaxHandlerFactories. register(OptionsSaxHandlerFactory optionsSaxHandlerFactory)Registers a new OptionsSaxHandlerFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<Option> | MapOptionsConfiguration. getOptions(ConfigurationProvider configurationProvider)Returns the contained options. | 
| Collection<Option> | OptionsConfiguration. getOptions(ConfigurationProvider configurationProvider)Retrieves the configured options and returns them. | 
| Collection<Option> | PropertiesOptionConfiguration. getOptions(ConfigurationProvider configurationProvider)Reads the options from the property file given in the path and
 returns them. | 
| Collection<Option> | XmlOptionConfiguration. getOptions(ConfigurationProvider configurationProvider)Reads the options from the XML file given in the path and
 returns them. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OutletConfiguration. addOutlet(Outlet outlet,
         UnitDescriptor unitDescriptor)Adds a outlet. | 
| Outlet | GroovyOutletSaxHandlerFactory. 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. | 
| OutletConfiguration | OutletConfigurationXmlParser. readOutletConfiguration(ConfigurationProvider configurationProvider,
                       ConfigurationHandlers configurationHandlers,
                       UnitDescriptor unitDescriptor)Reads all outlet configuration files and creates the outlet
 configuration from them. | 
| void | OutletConfiguration. resolveMergepointMappings()Resolves the isolated merge point mappings and adds them to
 the relevant outlets. | 
| 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 | 
|---|---|
| byte[] | EntityReferenceSaxHandler. readResource()Reads the resource defined in the parsed XML . | 
| void | SourceSaxHandlerFactories. register(SourceSaxHandlerFactory sourceSaxHandlerFactory)Registers a new SourcseSaxHandlerFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DebuggingOutletWrapper. addMergepointMapping(MergepointMapping mergepointMapping)Adds the mergepoint mapping to the delegate. | 
| void | Outlet. addMergepointMapping(MergepointMapping mergepointMapping)Adds an mergepoint mapping to the outlet. | 
| void | OutletImpl. addMergepointMapping(MergepointMapping mergepointMapping)Adds an mergepoint mapping to the outlet. | 
| Constructor and Description | 
|---|
| CopyOutlet(QualifiedName name,
          ConfigurationProvider configurationProvider,
          String path)Constructs a new CopyOutlet. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OutletWithoutMergepoints. addMergepointMapping(MergepointMapping mergepointMapping) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract SourceProvider | SourceProvider. copy()Returns a copy of this source provider in its initial state. | 
| void | SourceProvider. init(ConfigurationHandlers configurationHandlers,
    ControllerState controllerState)Initializes the source provider. | 
| protected abstract void | SourceProvider. initInternal(ConfigurationHandlers configurationHandlers,
            ControllerState controllerState)Initializes the sources provided by this SourceProvider. | 
| void | SourceProvider. reset(ConfigurationHandlers configurationHandlers,
     ControllerState controllerState)Resets the source provider. | 
| protected abstract void | SourceProvider. resetInternal(ConfigurationHandlers configurationHandlers,
             ControllerState controllerState)Resets the sources provided by this SourceProvider. | 
| void | SourceProcessConfiguration. setSkipDecider(String skipDecider,
              UnitDescriptor unitDescriptor)Sets and instantiates the source filter class. | 
| Modifier and Type | Method and Description | 
|---|---|
| SourceProvider | JdbcMetadataSourceProvider. copy()Returns a copy of this source provider in its initial state. | 
| void | JdbcMetadataSourceProvider. initInternal(ConfigurationHandlers configurationHandlers,
            ControllerState controllerState) | 
| protected void | JdbcMetadataSourceProvider. resetInternal(ConfigurationHandlers configurationHandlers,
             ControllerState controllerState) | 
| Constructor and Description | 
|---|
| JdbcMetadataSourceProvider(String urlOption,
                          String driverOption,
                          String usernameOption,
                          String passwordOption,
                          String schemaOption) | 
| Modifier and Type | Method and Description | 
|---|---|
| SourceProvider | FileSourceProvider. copy()Returns a copy of this source provider in its initial state. | 
| protected void | FileSourceProvider. initInternal(ConfigurationHandlers configurationHandlers,
            ControllerState controllerState)Determines the files which match the source fileset. | 
| Constructor and Description | 
|---|
| FileSourceProvider(StreamSourceFormat sourceFormat,
                  Fileset sourceFileset,
                  Boolean combineFiles)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | TemplateOutlet. getContent(ControllerState controllerState)Returns the contents as a Template as a String. | 
| String | TemplateOutletImpl. getContent(ControllerState controllerState) | 
| 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. | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.