org.apache.activemq.openwire.tool
Class CHeadersGenerator

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
Direct Known Subclasses:
CSourcesGenerator

public class CHeadersGenerator
extends SingleSourceGenerator


Field Summary
protected  String 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
CHeadersGenerator()
           
 
Method Summary
protected  void generateFile(PrintWriter out)
           
protected  void generateLicence(PrintWriter out)
           
protected  void generateSetup(PrintWriter out)
           
protected  void generateTearDown(PrintWriter out)
           
 String getTargetDir()
           
 Object run()
           
 void setTargetDir(String targetDir)
           
protected  List<org.codehaus.jam.JClass> sort(List source)
          Sort the class list so that base classes come up first.
 
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
 

Field Detail

targetDir

protected String targetDir
Constructor Detail

CHeadersGenerator

public CHeadersGenerator()
Method Detail

run

public Object run()
Overrides:
run in class SingleSourceGenerator

getTargetDir

public String getTargetDir()

setTargetDir

public void setTargetDir(String targetDir)

generateLicence

protected void generateLicence(PrintWriter out)

sort

protected List<org.codehaus.jam.JClass> sort(List source)
Sort the class list so that base classes come up first.

Overrides:
sort in class SingleSourceGenerator

generateSetup

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

generateFile

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

generateTearDown

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


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