org.kefirsf.bb.proc
Class ProcTemplate
java.lang.Object
org.kefirsf.bb.proc.ProcTemplate
public class ProcTemplate
- extends Object
Code template
- Author:
- Vitaliy Samolovskih aka Kefir
|
Method Summary |
void |
generate(Context context)
Append to result string processed text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final ProcTemplate EMPTY
- Empty template
ProcTemplate
public ProcTemplate(List<? extends ProcTemplateElement> elements)
- Create neq template with elements.
- Parameters:
elements - template elements.
generate
public void generate(Context context)
throws IOException
- Append to result string processed text.
- Parameters:
context - current context.
- Throws:
IOException - if can't append.
Copyright © 2013. All Rights Reserved.