|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
org.apache.torque.generator.outlet.java.XmlOutlet
public class XmlOutlet
Outputs the source tree as XML.
| Constructor Summary | |
|---|---|
XmlOutlet(QualifiedName name)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.torque.generator.outlet.java.OutletWithoutMergepoints |
|---|
addMergepointMapping, getMergepointMapping |
| Methods inherited from class org.apache.torque.generator.outlet.OutletImpl |
|---|
afterExecute, beforeExecute, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputElementName, setMergepointMapping, setVariable, setVariable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmlOutlet(QualifiedName name)
name - the qualified name of the outlet.| Method Detail |
|---|
public OutletResult execute(ControllerState controllerState)
throws GeneratorException
Outlet
execute in interface Outletexecute in class OutletImplcontrollerState - the current controller state, not null.
GeneratorException - if generation fails.public boolean isCreateIdAttributes()
public void setCreateIdAttributes(boolean createIdAttributes)
createIdAttributes - true if id attributes should be automatically
created, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||