Class JavaTestsGenerator
- java.lang.Object
-
- org.apache.activemq.openwire.tool.OpenWireGenerator
-
- org.apache.activemq.openwire.tool.MultiSourceGenerator
-
- org.apache.activemq.openwire.tool.JavaTestsGenerator
-
public class JavaTestsGenerator extends MultiSourceGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected String
targetDir
-
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 JavaTestsGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateFile(PrintWriter out)
protected String
getBaseClassName(org.codehaus.jam.JClass jclass)
protected String
getClassName(org.codehaus.jam.JClass jclass)
String
getTargetDir()
Object
run()
void
setTargetDir(String targetDir)
-
Methods inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
getAbstractClassText, getBaseClass, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, initialiseManuallyMaintainedClasses, isAbstractClass, isMarshallerAware, isValidClass, processClass, 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 classMultiSourceGenerator
-
getClassName
protected String getClassName(org.codehaus.jam.JClass jclass)
- Overrides:
getClassName
in classMultiSourceGenerator
-
getBaseClassName
protected String getBaseClassName(org.codehaus.jam.JClass jclass)
- Overrides:
getBaseClassName
in classMultiSourceGenerator
-
generateFile
protected void generateFile(PrintWriter out)
- Specified by:
generateFile
in classMultiSourceGenerator
-
getTargetDir
public String getTargetDir()
-
setTargetDir
public void setTargetDir(String targetDir)
-
-