public abstract class CodeletGap extends SimpleNamed
A single gap in a Codelet template, including a function that fills it based on the Codelet instance and global configuration.
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/codelettype.SourceCodeTemplate,
type.ConsoleOutTemplate,
type.SourceAndOutTemplate,
type.FileTextTemplate,
UserExtraGapGetter| Constructor and Description |
|---|
CodeletGap(String name)
Create a new instance with a name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getFillText(CodeletInstance instance)
The output string that replaces the gap.
|
ciBadNameInCnstr, getNametoStringpublic CodeletGap(String name)
Create a new instance with a name.
Equal to super(name)
name - May not be null or empty, and must contain only letters, digits, and underscores. Get with getName()*.public abstract String getFillText(CodeletInstance instance)
The output string that replaces the gap.
instance - The codelet instance. May not be null. When creating a ...custom gap... you do not need to check (or try-catch) for null-ness.null string.Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet