# Uses of Class
org.apache.torque.generator.configuration.UnitDescriptor

Packages that use UnitDescriptor
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.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.control
This package implements the torque generator Controller .
org.apache.torque.generator.source
This package contains the handling of source files.

- ## Uses of UnitDescriptor in org.apache.torque.generator.configuration

  Methods in org.apache.torque.generator.configuration that return UnitDescriptor
  Modifier and Type
  Method
  Description
  `UnitDescriptor`
  UnitDescriptor.`getInheritsFrom()`
  Returns the descriptor of the generation unit from which this generation unit inherits, or null if this generation unit does not inherit from another generation unit.
  Methods in org.apache.torque.generator.configuration with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `void`
  Configuration.`addUnit(UnitDescriptor unitDescriptor)`
  Adds a unit of generation to the configuration.
  `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
  `void`
  UnitDescriptor.`setInheritsFrom(UnitDescriptor inheritsFrom)`
  Sets the descriptor of the generation unit from which this generation unit inherits.
  Method parameters in org.apache.torque.generator.configuration with type arguments of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `void`
  Configuration.`addUnits(List<UnitDescriptor> unitDescriptors)`
  Adds several units of generation to the configuration.
  Constructors in org.apache.torque.generator.configuration with parameters of type UnitDescriptor
  Modifier
  Constructor
  Description
  ``
  `ClasspathConfigurationProvider(UnitDescriptor unitDescriptor)`
  Constructor.

- ## Uses of UnitDescriptor in org.apache.torque.generator.configuration.controller

  Methods in org.apache.torque.generator.configuration.controller with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `ControlConfiguration`
  ControlConfigurationXmlParser.`readControllerConfiguration(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Reads the controller configuration out of a configurationProvider.
  Constructors in org.apache.torque.generator.configuration.controller with parameters of type UnitDescriptor
  Modifier
  Constructor
  Description
  ``
  `ControlConfigurationSaxHandler(ControlConfiguration controllerConfiguration, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.
  ``
  `OutputSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.

- ## Uses of UnitDescriptor in org.apache.torque.generator.configuration.mergepoint

  Methods in org.apache.torque.generator.configuration.mergepoint that return UnitDescriptor
  Modifier and Type
  Method
  Description
  `protected UnitDescriptor`
  ActionSaxHandler.`getUnitDescriptor()`
  Returns the description of the generation unit.
  Methods in org.apache.torque.generator.configuration.mergepoint with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `ActionSaxHandler`
  ActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a ActionSaxHandler for reading in the configuration of an action.
  `final ApplyActionSaxHandler`
  ApplyActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a ApplyActionSaxHandler for reading the configuration of ApplyActions.
  `final OptionActionSaxHandler`
  OptionActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a OptionActionSaxHandler for reading the configuration of OptionActions.
  `final OutputActionSaxHandler`
  OutputActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a OutputActionSaxHandler for reading the configuration of OptionActions.
  `final SourceElementAttributeActionSaxHandler`
  SourceElementAttributeActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a OptionActionSaxHandler for reading the configuration of SourceElementAttributeActions.
  `final TraverseAllActionSaxHandler`
  TraverseAllActionSaxHandlerFactory.`getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Returns a TraverseAllActionSaxHandler for reading the configuration of TraverseAllActions.
  Constructors in org.apache.torque.generator.configuration.mergepoint with parameters of type UnitDescriptor
  Modifier
  Constructor
  Description
  ``
  `ActionSaxHandler(MergepointAction action, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Constructor.
  ``
  `ApplyActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Creates a ApplyActionSaxHandler for reading the configuration of a ApplyAction.
  ``
  `MergepointSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.
  ``
  `OptionActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Creates a OptionActionSaxHandler for reading the configuration of a OptionAction.
  ``
  `OutputActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Creates a OutputActionSaxHandler for reading the configuration of a OptionAction.
  ``
  `SourceElementAttributeActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Creates a OptionActionSaxHandler for reading the configuration of a SourceElementAttributeAction.
  ``
  `TraverseAllActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Creates a TraverseAllActionSaxHandler for redaing the configuration of a TraverseAllAction.

- ## Uses of UnitDescriptor in org.apache.torque.generator.configuration.outlet

  Methods in org.apache.torque.generator.configuration.outlet that return UnitDescriptor
  Modifier and Type
  Method
  Description
  `UnitDescriptor`
  OutletSaxHandler.`getUnitDescriptor()`
  Returns the description of the generation unit.
  Methods in org.apache.torque.generator.configuration.outlet with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `void`
  OutletConfiguration.`addOutlet(Outlet outlet, UnitDescriptor unitDescriptor)`
  Adds a outlet.
  `boolean`
  ReflectionOutletSaxHandlerFactory.`canHandle(String type, UnitDescriptor unitDescriptor)`
  `boolean`
  UntypedOutletSaxHandlerFactory.`canHandle(String type, UnitDescriptor unitDescriptor)`
  Returns whether the handler can create OutletSaxHandlers for the given type.
  `final OutletSaxHandler`
  CopyOutletSaxHandlerFactory.`getOutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a JavaOutletSaxHandler for reading the configuration of Java outlets.
  `final OutletSaxHandler`
  GroovyOutletSaxHandlerFactory.`getOutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a GroovyOutletSaxHandler for reading the configuration of Groovy outlets.
  `final OutletSaxHandler`
  JavaOutletSaxHandlerFactory.`getOutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a JavaOutletSaxHandler for reading the configuration of Java outlets.
  `final OutletSaxHandler`
  ReflectionOutletSaxHandlerFactory.`getOutletSaxHandler(String outletType, QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a OutletSaxHandler for reading the configuration of the outlet.
  `OutletSaxHandler`
  TypedOutletSaxHandlerFactory.`getOutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a OutletSaxHandler for reading in the configuration of a 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.
  `final OutletSaxHandler`
  VelocityOutletSaxHandlerFactory.`getOutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a VelocityOutletSaxHandler for reading the configuration of Velocity outlets.
  `OutletConfiguration`
  OutletConfigurationXmlParser.`readOutletConfiguration(ConfigurationProvider configurationProvider, ConfigurationHandlers configurationHandlers, UnitDescriptor unitDescriptor)`
  Reads all outlet configuration files and creates the outlet configuration from them.
  Constructors in org.apache.torque.generator.configuration.outlet with parameters of type UnitDescriptor
  Modifier
  Constructor
  Description
  ``
  `OutletConfiguration(Collection<Outlet> outlets, Collection<MergepointMapping> mergepointMappings, UnitDescriptor unitDescriptor)`
  Creates a OutletConfiguration containing a list of Outlets.
  ``
  `OutletConfigurationSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.
  ``
  `OutletSaxHandler(QualifiedName outletName, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Creates a OutletSaxHandler.

- ## Uses of UnitDescriptor in org.apache.torque.generator.configuration.source

  Methods in org.apache.torque.generator.configuration.source that return UnitDescriptor
  Modifier and Type
  Method
  Description
  `UnitDescriptor`
  SourceSaxHandler.`getUnitDescriptor()`
  Returns the description of the generation unit.
  Methods in org.apache.torque.generator.configuration.source with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `final SourceSaxHandler`
  FileSourceSaxHandlerFactory.`getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a FileSourceSaxHandlers for reading the configuration of file sources.
  `final SourceSaxHandler`
  JdbcMetadataSourceSaxHandlerFactory.`getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a JdbcMetadataSourceSaxHandler for reading the configuration of JDBC metadata sources.
  `SourceSaxHandler`
  SourceSaxHandlerFactory.`getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Returns a SourceSaxHandler for reading the configuration of sources.
  Constructors in org.apache.torque.generator.configuration.source with parameters of type UnitDescriptor
  Modifier
  Constructor
  Description
  ``
  `ConfigurableClassSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, String tagNameToProcess)`
  Constructor.
  ``
  `EntityReferenceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)`
  Constructor.
  ``
  `FileSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.
  ``
  `JdbcMetadataSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.
  ``
  `SourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)`
  Constructor.

- ## Uses of UnitDescriptor in org.apache.torque.generator.control

  Method parameters in org.apache.torque.generator.control with type arguments of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `void`
  Controller.`run(List<UnitDescriptor> unitDescriptors)`
  Executes the controller action.

- ## Uses of UnitDescriptor in org.apache.torque.generator.source

  Methods in org.apache.torque.generator.source with parameters of type UnitDescriptor
  Modifier and Type
  Method
  Description
  `void`
  SourceProcessConfiguration.`setSkipDecider(String skipDecider, UnitDescriptor unitDescriptor)`
  Sets and instantiates the source filter class.