org.apache.activemq.openwire.tool
Class CSharpMarshallingGenerator
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.CSharpMarshallingGenerator
public class CSharpMarshallingGenerator
- extends JavaMarshallingGenerator
- Version:
- $Revision: 384390 $
Field Summary |
protected java.lang.String |
targetDir
|
Methods inherited from class org.apache.activemq.openwire.tool.JavaMarshallingGenerator |
generateLooseUnmarshalBody, generateTightUnmarshalBody, 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 |
targetDir
protected java.lang.String targetDir
CSharpMarshallingGenerator
public CSharpMarshallingGenerator()
run
public java.lang.Object run()
- Overrides:
run
in class JavaMarshallingGenerator
generateTightUnmarshalBodyForProperty
protected void generateTightUnmarshalBodyForProperty(java.io.PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size)
- Overrides:
generateTightUnmarshalBodyForProperty
in class JavaMarshallingGenerator
generateTightUnmarshalBodyForArrayProperty
protected void generateTightUnmarshalBodyForArrayProperty(java.io.PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size)
- Overrides:
generateTightUnmarshalBodyForArrayProperty
in class JavaMarshallingGenerator
generateTightMarshal1Body
protected int generateTightMarshal1Body(java.io.PrintWriter out)
- Overrides:
generateTightMarshal1Body
in class JavaMarshallingGenerator
generateTightMarshal2Body
protected void generateTightMarshal2Body(java.io.PrintWriter out)
- Overrides:
generateTightMarshal2Body
in class JavaMarshallingGenerator
generateLooseUnmarshalBodyForProperty
protected void generateLooseUnmarshalBodyForProperty(java.io.PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size)
- Overrides:
generateLooseUnmarshalBodyForProperty
in class JavaMarshallingGenerator
generateLooseUnmarshalBodyForArrayProperty
protected void generateLooseUnmarshalBodyForArrayProperty(java.io.PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size)
- Overrides:
generateLooseUnmarshalBodyForArrayProperty
in class JavaMarshallingGenerator
generateLooseMarshalBody
protected void generateLooseMarshalBody(java.io.PrintWriter out)
- Overrides:
generateLooseMarshalBody
in class JavaMarshallingGenerator
getTargetDir
public java.lang.String getTargetDir()
- Overrides:
getTargetDir
in class JavaMarshallingGenerator
setTargetDir
public void setTargetDir(java.lang.String targetDir)
- Overrides:
setTargetDir
in class JavaMarshallingGenerator
generateFile
protected void generateFile(java.io.PrintWriter out)
throws java.lang.Exception
- Overrides:
generateFile
in class JavaMarshallingGenerator
- Throws:
java.lang.Exception
generateFactory
public void generateFactory(java.io.PrintWriter out)
- Overrides:
generateFactory
in class JavaMarshallingGenerator
Copyright © 2010 Apache Software Foundation. All Rights Reserved.