public abstract class JavaClassWriter extends XmlWriter
Constructor and Description |
---|
JavaClassWriter(String rootDirectory,
String packageName,
String className) |
Modifier and Type | Method and Description |
---|---|
void |
closeBrace() |
ByteArrayOutputStream |
getBody() |
String |
getClassName() |
String |
getDirectory() |
String |
getFileName() |
String |
getPackageName() |
String |
getRootDirectory() |
void |
importsAdd(String pack) |
void |
indentPrintWrappedComment(String str) |
void |
openBrace() |
protected void |
setPackageName(String packageName) |
void |
writeHeader() |
void |
writeImports() |
void |
writeJavaClassAndImportsOutToFile() |
decrementIndent, escapeXML, getIndent, getOut, incrementIndent, indent, indent, indentPrint, indentPrintln, print, println, setIndent, setOut, writeAttribute, writeComment, writeCommentBox, writeTag, writeTag
public JavaClassWriter(String rootDirectory, String packageName, String className)
public ByteArrayOutputStream getBody()
public String getClassName()
public String getDirectory()
public String getFileName()
public String getPackageName()
protected void setPackageName(String packageName)
public String getRootDirectory()
public void importsAdd(String pack)
public void writeHeader()
public void writeImports()
public void writeJavaClassAndImportsOutToFile()
public void openBrace()
public void closeBrace()
public void indentPrintWrappedComment(String str)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.