org.apache.activemq.openwire.tool
Class CSharpClassesGenerator

java.lang.Object
  extended by org.apache.activemq.openwire.tool.OpenWireGenerator
      extended by org.apache.activemq.openwire.tool.MultiSourceGenerator
          extended by org.apache.activemq.openwire.tool.CSharpClassesGenerator

public class CSharpClassesGenerator
extends MultiSourceGenerator


Field Summary
protected  String targetDir
           
 
Fields inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
baseClass, buffer, className, destDir, destFile, jclass, manuallyMaintainedClasses, simpleName, superclass
 
Fields inherited from class org.apache.activemq.openwire.tool.OpenWireGenerator
filePostFix, jam, openwireVersion
 
Constructor Summary
CSharpClassesGenerator()
           
 
Method Summary
protected  void generateFile(PrintWriter out)
           
 String getTargetDir()
           
 String makeEqualsBody()
           
 String makeHashCodeBody()
           
 String makeToStringBody()
           
 Object run()
           
 void setTargetDir(String targetDir)
           
 
Methods inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
getAbstractClassText, getBaseClass, getBaseClassName, getClassName, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, initialiseManuallyMaintainedClasses, isAbstractClass, isMarshallerAware, isValidClass, processClass, setBaseClass, setClassName, setDestDir, setDestFile, setJclass, setManuallyMaintainedClasses, setSimpleName, setSuperclass
 
Methods inherited from class org.apache.activemq.openwire.tool.OpenWireGenerator
capitalize, decapitalize, getClasses, getJam, getOpenWireOpCode, getOpenwireVersion, isAbstract, isCachedProperty, isMarshallAware, isThrowable, isValidProperty, setJam, setOpenwireVersion, stringValue, stringValue, toCSharpType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

targetDir

protected String targetDir
Constructor Detail

CSharpClassesGenerator

public CSharpClassesGenerator()
Method Detail

run

public Object run()
Overrides:
run in class MultiSourceGenerator

makeHashCodeBody

public String makeHashCodeBody()
                        throws Exception
Throws:
Exception

makeEqualsBody

public String makeEqualsBody()
                      throws Exception
Throws:
Exception

makeToStringBody

public String makeToStringBody()
                        throws Exception
Throws:
Exception

generateFile

protected void generateFile(PrintWriter out)
                     throws Exception
Specified by:
generateFile in class MultiSourceGenerator
Throws:
Exception

getTargetDir

public String getTargetDir()

setTargetDir

public void setTargetDir(String targetDir)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.