| Package | Description | 
|---|---|
| org.apache.torque.generator.control | 
      This package implements the torque generator Controller . | 
| 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.skipDecider | 
      This package contains the definition and implementations of source
      filters. | 
| org.apache.torque.generator.source.stream | 
      This package contains the handling of stream-based sources, 
      such as file sources. | 
| org.apache.torque.generator.template.velocity | 
      This package contains the handling of velocity outlets in the 
      Torque generator. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Controller. transformSource(Object sourceRoot,
               List<SourceTransformerDefinition> transformerDefinitions,
               ControllerState controllerState)Applies all transformer definitions to the current source. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SourceElement | SourceImpl. createRootElement()Reads the root element and the whole untransformed source tree. | 
| SourceElement | Source. getRootElement()Returns the root element of the source. | 
| SourceElement | SourceImpl. getRootElement() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected SourceElement | JdbcMetadataSource. createRootElement() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SkipDecider. proceed(ControllerState controllerState)Decides whether the source file should be skipped and not used for
        generation. | 
| Modifier and Type | Method and Description | 
|---|---|
| SourceElement | CombinedFileSource. createRootElement()Reads and parses the input file and creates the element tree from it. | 
| SourceElement | FileSource. createRootElement()Reads and parses the input file and creates the element tree from it. | 
| SourceElement | PropertiesSourceFormat. parse(InputStream inputStream,
     ControllerState controllerState)Parses a Stream in Properties format and returns the root element of the
 created element tree. | 
| SourceElement | StreamSourceFormat. parse(InputStream inputStream,
     ControllerState controllerState)Parses a source file and returns its root element. | 
| SourceElement | XmlSourceFormat. parse(InputStream xmlStream,
     ControllerState controllerState)Parses a stream containing xml data and creates a source element
 hierarchy from it. | 
| String | SourceToXml. toXml(SourceElement rootElement,
     boolean createIdAttributes)Renders a source element and its children as XML. | 
| Modifier and Type | Method and Description | 
|---|---|
| SourceElement | TorqueGenVelocity. getChild(String name)Returns the first child of the current source element
 with the given name. | 
| List<SourceElement> | TorqueGenVelocity. getChildren()Returns all children of the current source element. | 
| List<SourceElement> | TorqueGenVelocity. getChildren(String name)Returns the children of the current source element with a certain name. | 
| SourceElement | TorqueGenVelocity. getParent()Returns the parent of the current source element. | 
| SourceElement | TorqueGenVelocity. getSourceElement()Returns the current source element, if it is a SourceElement. | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.