org.apache.activemq.openwire.tool
Class CSourcesGenerator

java.lang.Object
  extended by org.apache.activemq.openwire.tool.OpenWireGenerator
      extended by org.apache.activemq.openwire.tool.SingleSourceGenerator
          extended by org.apache.activemq.openwire.tool.CHeadersGenerator
              extended by org.apache.activemq.openwire.tool.CSourcesGenerator

public class CSourcesGenerator
extends CHeadersGenerator


Field Summary
 
Fields inherited from class org.apache.activemq.openwire.tool.CHeadersGenerator
targetDir
 
Fields inherited from class org.apache.activemq.openwire.tool.SingleSourceGenerator
baseClass, className, destFile, jclass, manuallyMaintainedClasses, simpleName, sortedClasses, superclass
 
Fields inherited from class org.apache.activemq.openwire.tool.OpenWireGenerator
filePostFix, jam, openwireVersion
 
Constructor Summary
CSourcesGenerator()
           
 
Method Summary
protected  void generateFile(PrintWriter out)
           
protected  void generateSetup(PrintWriter out)
           
protected  void generateTearDown(PrintWriter out)
           
 Object run()
           
protected  List sort(List source)
          Sort the class list so that base classes come up first.
 
Methods inherited from class org.apache.activemq.openwire.tool.CHeadersGenerator
generateLicence, getTargetDir, setTargetDir
 
Methods inherited from class org.apache.activemq.openwire.tool.SingleSourceGenerator
getAbstractClassText, getBaseClass, getBaseClassName, getClassName, getClassName, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, initialiseManuallyMaintainedClasses, isAbstractClass, isMarshallerAware, isValidClass, setBaseClass, setClassName, 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
 

Constructor Detail

CSourcesGenerator

public CSourcesGenerator()
Method Detail

run

public Object run()
Overrides:
run in class CHeadersGenerator

sort

protected List sort(List source)
Description copied from class: CHeadersGenerator
Sort the class list so that base classes come up first.

Overrides:
sort in class CHeadersGenerator

generateSetup

protected void generateSetup(PrintWriter out)
Overrides:
generateSetup in class CHeadersGenerator

generateFile

protected void generateFile(PrintWriter out)
                     throws Exception
Overrides:
generateFile in class CHeadersGenerator
Throws:
Exception

generateTearDown

protected void generateTearDown(PrintWriter out)
Overrides:
generateTearDown in class CHeadersGenerator


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