uic.output.builder
Class CodeSnippet
java.lang.Object
uic.output.builder.Representer
uic.output.builder.CodeSnippet
- public class CodeSnippet
- extends Representer
This represents a piece of code that only the JavaFileWriter will write out.
CodeSnippet
public CodeSnippet(String title)
addText
public CodeSnippet addText(String txt)
println
public CodeSnippet println(String txt)
printDocumentationLine
public CodeSnippet printDocumentationLine(String txt)
toString
public String toString()
- Overrides:
toString
in class Representer
getText
public String getText()
getReturnType
public String getReturnType()
setReturnType
public void setReturnType(String returnType)
addUsedClassName
public void addUsedClassName(String fullClassName)
getClassNamesUsed
public Vector getClassNamesUsed()
addArgument
public CodeSnippet addArgument(String className,
String name)
getArguments
public Vector getArguments()
Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence