Class CSourcesGenerator
- java.lang.Object
-
- org.apache.activemq.openwire.tool.OpenWireGenerator
-
- org.apache.activemq.openwire.tool.SingleSourceGenerator
-
- org.apache.activemq.openwire.tool.CHeadersGenerator
-
- 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
Constructors Constructor Description CSourcesGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateFile(PrintWriter out)
protected void
generateSetup(PrintWriter out)
protected void
generateTearDown(PrintWriter out)
Object
run()
protected List<org.codehaus.jam.JClass>
sort(List<org.codehaus.jam.JClass> 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
-
-
-
-
Method Detail
-
run
public Object run()
- Overrides:
run
in classCHeadersGenerator
-
sort
protected List<org.codehaus.jam.JClass> sort(List<org.codehaus.jam.JClass> source)
Description copied from class:CHeadersGenerator
Sort the class list so that base classes come up first.- Overrides:
sort
in classCHeadersGenerator
-
generateSetup
protected void generateSetup(PrintWriter out)
- Overrides:
generateSetup
in classCHeadersGenerator
-
generateFile
protected void generateFile(PrintWriter out) throws Exception
- Overrides:
generateFile
in classCHeadersGenerator
- Throws:
Exception
-
generateTearDown
protected void generateTearDown(PrintWriter out)
- Overrides:
generateTearDown
in classCHeadersGenerator
-
-