org.kuali.student.contract.writer.service
Class MockImplServiceWriter

java.lang.Object
  extended by org.kuali.student.contract.writer.XmlWriter
      extended by org.kuali.student.contract.writer.JavaClassWriter
          extended by org.kuali.student.contract.writer.service.MockImplServiceWriter

public class MockImplServiceWriter
extends JavaClassWriter

Author:
nwright

Constructor Summary
MockImplServiceWriter(ServiceContractModel model, String directory, String rootPackage, String servKey, List<ServiceMethod> methods, boolean isR1)
           
 
Method Summary
static String calcClassName(String servKey)
           
static String calcPackage(String servKey, String rootPackage)
           
static String calcServiceInterfaceClassName(String servKey)
           
 void write()
          Write out the entire file
 
Methods inherited from class org.kuali.student.contract.writer.JavaClassWriter
closeBrace, getBody, getClassName, getDirectory, getFileName, getPackageName, getRootDirectory, importsAdd, indentPrintWrappedComment, openBrace, writeHeader, writeImports, writeJavaClassAndImportsOutToFile
 
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
 

Constructor Detail

MockImplServiceWriter

public MockImplServiceWriter(ServiceContractModel model,
                             String directory,
                             String rootPackage,
                             String servKey,
                             List<ServiceMethod> methods,
                             boolean isR1)
Method Detail

calcPackage

public static String calcPackage(String servKey,
                                 String rootPackage)

calcClassName

public static String calcClassName(String servKey)

calcServiceInterfaceClassName

public static String calcServiceInterfaceClassName(String servKey)

write

public void write()
Write out the entire file



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.