org.apache.activemq.openwire.tool
Class CppMarshallingHeadersGenerator

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.JavaMarshallingGenerator
              extended by org.apache.activemq.openwire.tool.CppMarshallingHeadersGenerator
Direct Known Subclasses:
CppMarshallingClassesGenerator

public class CppMarshallingHeadersGenerator
extends JavaMarshallingGenerator


Field Summary
protected  String targetDir
           
 
Fields inherited from class org.apache.activemq.openwire.tool.JavaMarshallingGenerator
concreteClasses, factoryFile, factoryFileName, indent
 
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
CppMarshallingHeadersGenerator()
           
 
Method Summary
 void generateFactory(PrintWriter out)
           
protected  void generateFile(PrintWriter out)
           
protected  void generateLicence(PrintWriter out)
           
protected  String getFilePostFix()
           
 String getTargetDir()
           
 Object run()
           
 void setTargetDir(String targetDir)
           
 
Methods inherited from class org.apache.activemq.openwire.tool.JavaMarshallingGenerator
generateLooseMarshalBody, generateLooseUnmarshalBody, generateLooseUnmarshalBodyForArrayProperty, generateLooseUnmarshalBodyForProperty, generateTightMarshal1Body, generateTightMarshal2Body, generateTightUnmarshalBody, generateTightUnmarshalBodyForArrayProperty, generateTightUnmarshalBodyForProperty, getBaseClassName, getClassName, getConcreteClasses, getFactoryFile, getFactoryFileName, getIndent, getMandatoryFlag, initialiseManuallyMaintainedClasses, processClass, processFactory, setConcreteClasses, setFactoryFile, setFactoryFileName, setIndent
 
Methods inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
getAbstractClassText, getBaseClass, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, isAbstractClass, isMarshallerAware, isValidClass, 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

CppMarshallingHeadersGenerator

public CppMarshallingHeadersGenerator()
Method Detail

run

public Object run()
Overrides:
run in class JavaMarshallingGenerator

getFilePostFix

protected String getFilePostFix()

generateLicence

protected void generateLicence(PrintWriter out)

generateFile

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

generateFactory

public void generateFactory(PrintWriter out)
Overrides:
generateFactory in class JavaMarshallingGenerator

getTargetDir

public String getTargetDir()
Overrides:
getTargetDir in class JavaMarshallingGenerator

setTargetDir

public void setTargetDir(String targetDir)
Overrides:
setTargetDir in class JavaMarshallingGenerator


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