org.kuali.student.contract.writer
Class JavaClassWriter
java.lang.Object
org.kuali.student.contract.writer.XmlWriter
org.kuali.student.contract.writer.JavaClassWriter
- Direct Known Subclasses:
- AdminUiInquirableWriter, AdminUiLookupableWriter, EachMethodServiceWriterForOneMethod, MockImplServiceWriter, PureJavaInfcBeanWriter, PureJavaInfcInfcWriter, PureJavaInfcServiceWriter, RemoteImplServiceTestWriter, RemoteImplServiceWriter, ServiceExceptionWriter, ValidationDecoratorServiceWriter
public abstract class JavaClassWriter
- extends XmlWriter
- Author:
- nwright
Methods inherited from class org.kuali.student.contract.writer.XmlWriter |
decrementIndent, escapeXML, getIndent, getOut, incrementIndent, indent, indent, indentPrint, indentPrintln, print, println, setIndent, setOut, writeAttribute, writeComment, writeCommentBox, writeTag, writeTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaClassWriter
public JavaClassWriter(String rootDirectory,
String packageName,
String className)
getBody
public ByteArrayOutputStream getBody()
getClassName
public String getClassName()
getDirectory
public String getDirectory()
getFileName
public String getFileName()
getPackageName
public String getPackageName()
setPackageName
protected void setPackageName(String packageName)
getRootDirectory
public String getRootDirectory()
importsAdd
public void importsAdd(String pack)
writeHeader
public void writeHeader()
writeImports
public void writeImports()
writeJavaClassAndImportsOutToFile
public void writeJavaClassAndImportsOutToFile()
openBrace
public void openBrace()
closeBrace
public void closeBrace()
indentPrintWrappedComment
public void indentPrintWrappedComment(String str)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.