public class XmlOutlet extends OutletWithoutMergepoints
| Constructor and Description |
|---|
XmlOutlet(QualifiedName name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addMergepointMapping, getMergepointMappingafterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toStringpublic XmlOutlet(QualifiedName name)
name - the qualified name of the outlet.public OutletResult execute(ControllerState controllerState) throws GeneratorException
Outletexecute 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.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.