Class CppMarshallingHeadersGenerator
- java.lang.Object
-
- org.apache.activemq.openwire.tool.OpenWireGenerator
-
- org.apache.activemq.openwire.tool.MultiSourceGenerator
-
- org.apache.activemq.openwire.tool.JavaMarshallingGenerator
-
- org.apache.activemq.openwire.tool.CppMarshallingHeadersGenerator
-
- Direct Known Subclasses:
CppMarshallingClassesGenerator
public class CppMarshallingHeadersGenerator extends JavaMarshallingGenerator
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description CppMarshallingHeadersGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
targetDir
protected String targetDir
-
-
Method Detail
-
run
public Object run()
- Overrides:
run
in classJavaMarshallingGenerator
-
getFilePostFix
protected String getFilePostFix()
-
generateLicence
protected void generateLicence(PrintWriter out)
-
generateFile
protected void generateFile(PrintWriter out) throws Exception
- Overrides:
generateFile
in classJavaMarshallingGenerator
- Throws:
Exception
-
generateFactory
public void generateFactory(PrintWriter out)
- Overrides:
generateFactory
in classJavaMarshallingGenerator
-
getTargetDir
public String getTargetDir()
- Overrides:
getTargetDir
in classJavaMarshallingGenerator
-
setTargetDir
public void setTargetDir(String targetDir)
- Overrides:
setTargetDir
in classJavaMarshallingGenerator
-
-