Package org.apache.torque.generator.configuration.option

# Klasse XmlOptionConfiguration

java.lang.Object
org.apache.torque.generator.configuration.option.FileOptionsConfiguration
org.apache.torque.generator.configuration.option.XmlOptionConfiguration

Alle implementierten Schnittstellen:
  `OptionsConfiguration`

public class XmlOptionConfiguration extends FileOptionsConfiguration
An option configuration which reads the options from a XML file in the java properties XML format. $Id: XmlOptionConfiguration.java 1839288 2018-08-27 09:48:33Z tv $

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `XmlOptionConfiguration()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `Collection<Option>`
  `getOptions(ConfigurationProvider configurationProvider)`
  Reads the options from the XML file given in the path and returns them.
  `protected Collection<Option>`
  `toOptions(Map<? extends Object,? extends Object> optionsMap)`
  Creates options from a Map and returns them.

  ### Von Klasse geerbte Methoden org.apache.torque.generator.configuration.option.FileOptionsConfiguration

  `getPath, toString`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Konstruktordetails

  - ### XmlOptionConfiguration

    public XmlOptionConfiguration()

- ## Methodendetails

  - ### getOptions

    public Collection<Option> getOptions(ConfigurationProvider configurationProvider) throws ConfigurationException
    Reads the options from the XML file given in the path and returns them.
    Parameter:
      `configurationProvider` - the provider to access configuration files, not null.
    Gibt zurück:
      the options contained in the file, not null.
    Löst aus:
      `ConfigurationException` - if the file cannot be accessed or parsed.

  - ### toOptions

    protected Collection<Option> toOptions(Map<? extends Object,? extends Object> optionsMap)
    Creates options from a Map and returns them.
    Parameter:
      `optionsMap` - the map containing the option qualified names as key and the option value as value. optionsMap and the keys therein must not be null.
    Gibt zurück:
      the options, not null.