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 CodeBlockBuilder
public TDDocCommentBuilder beginTDDocComment(String identifier)
beginTDDocComment
in interface CodeBlockBuilder
beginTDDocComment
in interface TDDocCommentScope
public void charLiteral(String literal)
charLiteral
in interface CodeBlockBuilder
public void end()
end
in interface CodeBlockBuilder
public void formalComment(String comment)
formalComment
in interface CodeBlockBuilder
public CodeBlock getCodeBlock()
getCodeBlock
in interface CodeBlockBuilder
public void identifier(String identifier)
identifier
in interface CodeBlockBuilder
public void mark(String mark)
mark
in interface CodeBlockBuilder
public void number(String number)
number
in interface CodeBlockBuilder
public void other(String other)
other
in interface CodeBlockBuilder
public void primitive(String type)
primitive
in interface CodeBlockBuilder
public void reservedWord(String keyword)
reservedWord
in interface CodeBlockBuilder
public void singleLineComment(String comment)
singleLineComment
in interface CodeBlockBuilder
public void string(String str)
string
in interface CodeBlockBuilder
public void newLine()
newLine
in interface WhiteSpaceBuilder
public void space()
space
in interface WhiteSpaceBuilder
public void tab()
tab
in interface WhiteSpaceBuilder
public void setModelFactory(ModelFactory modelFactory)
setModelFactory
in interface CodeBlockBuilder
Copyright © 2005-2013 Agical AB. All Rights Reserved.