Klasse XmlOutlet

Alle implementierten Schnittstellen:
Outlet

public class XmlOutlet extends OutletWithoutMergepoints
Outputs the source tree as XML.
  • 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.