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  java.lang.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(java.io.PrintWriter out)
           
 java.lang.String getTargetDir()
           
 java.lang.String makeEqualsBody()
           
 java.lang.String makeHashCodeBody()
           
 java.lang.String makeToStringBody()
           
 java.lang.Object run()
           
 void setTargetDir(java.lang.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 java.lang.String targetDir
Constructor Detail

CSharpClassesGenerator

public CSharpClassesGenerator()
Method Detail

run

public java.lang.Object run()
Overrides:
run in class MultiSourceGenerator

makeHashCodeBody

public java.lang.String makeHashCodeBody()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

makeEqualsBody

public java.lang.String makeEqualsBody()
                                throws java.lang.Exception
Throws:
java.lang.Exception

makeToStringBody

public java.lang.String makeToStringBody()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

generateFile

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

getTargetDir

public java.lang.String getTargetDir()

setTargetDir

public void setTargetDir(java.lang.String targetDir)


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.