public class JavadocOutlet extends OutletImpl
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTES_MERGEPOINT_NAME
The name of the mergepoint which contains the javadoc attributes.
|
static String |
BODY_MERGEPOINT_NAME
The name of the mergepoint which output is used as javadoc body.
|
Constructor and Description |
---|
JavadocOutlet(QualifiedName qualifiedName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
execute(ControllerState controllerState)
Generates the output for this template into the Generated object.
|
String |
getIndent() |
String |
getLineBreak() |
int |
getMaxLineLength() |
String |
getRemovableWrapCharacters() |
String |
getWrapAfterCharacters() |
void |
setIndent(String indent) |
void |
setLineBreak(String lineBreak) |
void |
setMaxLineLength(int maxLineLength) |
void |
setRemovableWrapCharacters(String removableWrapCharacters) |
void |
setWrapAfterCharacters(String wrapAfterCharacters) |
addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
public static final String BODY_MERGEPOINT_NAME
public static final String ATTRIBUTES_MERGEPOINT_NAME
public JavadocOutlet(QualifiedName qualifiedName)
qualifiedName
- the qualified name of the outlet, not null.public OutletResult execute(ControllerState controllerState) throws GeneratorException
Outlet
execute
in interface Outlet
execute
in class OutletImpl
controllerState
- the current controller state, not null.GeneratorException
- if generation fails.public String getLineBreak()
public void setLineBreak(String lineBreak)
public int getMaxLineLength()
public void setMaxLineLength(int maxLineLength)
public String getIndent()
public void setIndent(String indent)
public String getRemovableWrapCharacters()
public void setRemovableWrapCharacters(String removableWrapCharacters)
public String getWrapAfterCharacters()
public void setWrapAfterCharacters(String wrapAfterCharacters)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.