public abstract class OnlyOneBodyGapTemplateBase extends CodeletTemplateBase
For all templates but {@.codelet.and.out}.
aliteralmind __DASH__ github __AT__ yahoo __DOT__ com), dual-licensed under the LGPL (version 3.0 or later) or the ASL (version 2.0). See source code for details. http://codelet.aliteralmind.com, https://github.com/aliteralmind/codelet| Modifier and Type | Field and Description |
|---|---|
static String |
BODY_GAP_NAME
The gap name for the fully processed source-code, which is the only gap required to exist in the template--equal to
"body". |
| Constructor and Description |
|---|
OnlyOneBodyGapTemplateBase(CodeletType type,
FeatherTemplate template,
String tmpl_path,
CodeletGap[] optional_defaultGaps,
UserExtraGapGetter userExtra_getter)
Create the first instance.
|
OnlyOneBodyGapTemplateBase(OnlyOneBodyGapTemplateBase to_copy,
Appendable debugDest_ifNonNull) |
OnlyOneBodyGapTemplateBase(OnlyOneBodyGapTemplateBase to_copy,
FeatherTemplate template,
String tmpl_path)
Create the second or subsequent instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillBodyGap(String body_text)
Fill the fully-processed text into the body gap.
|
static FeatherTemplate |
newTemplateFromPath(String path,
String path_name) |
addCustomGaps, fillBodyGap, getGapCount, getObjectCopy, getPath, getRendered, getTemplate, getType, newGapMapFromArray, newTemplateFromPath, setDebug, setDebugOnappendToString, debug, debugln, getDebugApbl, getDebugAptr, getObjectCopy, isDebugOn, onIfNonNull, toString, zsetDebugDB, zsetDebugOnDBpublic static final String BODY_GAP_NAME
The gap name for the fully processed source-code, which is the only gap required to exist in the template--equal to "body".
public OnlyOneBodyGapTemplateBase(CodeletType type, FeatherTemplate template, String tmpl_path, CodeletGap[] optional_defaultGaps, UserExtraGapGetter userExtra_getter)
Create the first instance.
Equal to
super(type, template, tmpl_path, new String[]{BODY_GAP_NAME}, optional_defaultGaps, userExtra_getter)
public OnlyOneBodyGapTemplateBase(OnlyOneBodyGapTemplateBase to_copy, FeatherTemplate template, String tmpl_path)
public OnlyOneBodyGapTemplateBase(OnlyOneBodyGapTemplateBase to_copy, Appendable debugDest_ifNonNull)
public final void fillBodyGap(String body_text)
public static final FeatherTemplate newTemplateFromPath(String path, String path_name)
Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet