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
Outputs the source tree as XML.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecute
(ControllerState controllerState) Generates the output for this template into the Generated object.boolean
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
-
Konstruktordetails
-
XmlOutlet
Constructor.- Parameter:
name
- the qualified name of the outlet.
-
-
Methodendetails
-
execute
Beschreibung aus Schnittstelle kopiert:Outlet
Generates the output for this template into the Generated object.- Angegeben von:
execute
in SchnittstelleOutlet
- Angegeben von:
execute
in KlasseOutletImpl
- 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.
-