public class CodeBockBuilderDecorator extends Object implements CodeBlockBuilder
NULL| Constructor and Description |
|---|
CodeBockBuilderDecorator(CodeBlockBuilder decoratedBuilder) |
| Modifier and Type | Method and Description |
|---|---|
CodeBlockBuilder |
beginBlock() |
TDDocCommentBuilder |
beginTDDocComment(String identifier) |
void |
charLiteral(String literal) |
void |
end() |
void |
formalComment(String comment) |
CodeBlock |
getCodeBlock() |
void |
identifier(String identifier) |
void |
mark(String mark) |
void |
newLine() |
void |
number(String number) |
void |
other(String other) |
void |
primitive(String type) |
void |
reservedWord(String keyword) |
void |
setModelFactory(ModelFactory modelFactory) |
void |
singleLineComment(String comment) |
void |
space() |
void |
string(String str) |
void |
tab() |
public CodeBockBuilderDecorator(CodeBlockBuilder decoratedBuilder)
public CodeBlockBuilder beginBlock()
beginBlock in interface CodeBlockBuilderpublic TDDocCommentBuilder beginTDDocComment(String identifier)
beginTDDocComment in interface CodeBlockBuilderbeginTDDocComment in interface TDDocCommentScopepublic void charLiteral(String literal)
charLiteral in interface CodeBlockBuilderpublic void end()
end in interface CodeBlockBuilderpublic void formalComment(String comment)
formalComment in interface CodeBlockBuilderpublic CodeBlock getCodeBlock()
getCodeBlock in interface CodeBlockBuilderpublic void identifier(String identifier)
identifier in interface CodeBlockBuilderpublic void mark(String mark)
mark in interface CodeBlockBuilderpublic void number(String number)
number in interface CodeBlockBuilderpublic void other(String other)
other in interface CodeBlockBuilderpublic void primitive(String type)
primitive in interface CodeBlockBuilderpublic void reservedWord(String keyword)
reservedWord in interface CodeBlockBuilderpublic void singleLineComment(String comment)
singleLineComment in interface CodeBlockBuilderpublic void string(String str)
string in interface CodeBlockBuilderpublic void newLine()
newLine in interface WhiteSpaceBuilderpublic void space()
space in interface WhiteSpaceBuilderpublic void tab()
tab in interface WhiteSpaceBuilderpublic void setModelFactory(ModelFactory modelFactory)
setModelFactory in interface CodeBlockBuilderCopyright © 2005-2013 Agical AB. All Rights Reserved.