Package org.apache.torque.generator.outlet.java

# Klasse XmlOutlet

java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
org.apache.torque.generator.outlet.java.XmlOutlet

Alle implementierten Schnittstellen:
  `Outlet`

public class XmlOutlet extends OutletWithoutMergepoints
Outputs the source tree as XML.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `XmlOutlet(QualifiedName name)`
  Constructor.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  `execute(ControllerState controllerState)`
  Generates the output for this template into the Generated object.
  `boolean`
  `isCreateIdAttributes()`
  Returns whether id attributes are automatically created in the output.
  `void`
  `setCreateIdAttributes(boolean createIdAttributes)`
  Sets whether id attributes should be automatically created in the output.

  ### Von Klasse geerbte Methoden org.apache.torque.generator.outlet.java.OutletWithoutMergepoints

  `addMergepointMapping, getMergepointMapping`

  ### Von Klasse geerbte Methoden org.apache.torque.generator.outlet.OutletImpl

  `afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString`

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

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

- ## Konstruktordetails

  - ### XmlOutlet

    public XmlOutlet(QualifiedName name)
    Constructor.
    Parameter:
      `name` - the qualified name of the outlet.

- ## Methodendetails

  - ### execute

    public OutletResult execute(ControllerState controllerState) throws GeneratorException
    Beschreibung aus Schnittstelle kopiert: `Outlet`
    Generates the output for this template into the Generated object.
    Angegeben von:
      `execute` in Schnittstelle `Outlet`
    Angegeben von:
      `execute` in Klasse `OutletImpl`
    Parameter:
      `controllerState` - the current controller state, not null.
    Gibt zurück:
      the output of the Outlet.
    Löst aus:
      `GeneratorException` - if generation fails.

  - ### isCreateIdAttributes

    public boolean isCreateIdAttributes()
    Returns whether id attributes are automatically created in the output.
    Gibt zurück:
      true if id attributes are automatically created, false otherwise.

  - ### setCreateIdAttributes

    public void setCreateIdAttributes(boolean createIdAttributes)
    Sets whether id attributes should be automatically created in the output.
    Parameter:
      `createIdAttributes` - true if id attributes should be automatically created, false otherwise.