public class CSharpMarshallingGenerator extends JavaMarshallingGenerator
Modifier and Type | Field and Description |
---|---|
protected String |
targetDir |
concreteClasses, factoryFile, factoryFileName, indent
baseClass, buffer, className, destDir, destFile, jclass, manuallyMaintainedClasses, simpleName, superclass
filePostFix, jam, openwireVersion
Constructor and Description |
---|
CSharpMarshallingGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateFactory(PrintWriter out) |
protected void |
generateFile(PrintWriter out) |
protected void |
generateLooseMarshalBody(PrintWriter out) |
protected void |
generateLooseUnmarshalBodyForArrayProperty(PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size) |
protected void |
generateLooseUnmarshalBodyForProperty(PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size) |
protected int |
generateTightMarshal1Body(PrintWriter out) |
protected void |
generateTightMarshal2Body(PrintWriter out) |
protected void |
generateTightUnmarshalBodyForArrayProperty(PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size) |
protected void |
generateTightUnmarshalBodyForProperty(PrintWriter out,
org.codehaus.jam.JProperty property,
org.codehaus.jam.JAnnotationValue size) |
String |
getTargetDir() |
Object |
run() |
void |
setTargetDir(String targetDir) |
generateLooseUnmarshalBody, generateTightUnmarshalBody, getBaseClassName, getClassName, getConcreteClasses, getFactoryFile, getFactoryFileName, getIndent, getMandatoryFlag, initialiseManuallyMaintainedClasses, processClass, processFactory, setConcreteClasses, setFactoryFile, setFactoryFileName, setIndent
getAbstractClassText, getBaseClass, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, isAbstractClass, isMarshallerAware, isValidClass, setBaseClass, setClassName, setDestDir, setDestFile, setJclass, setManuallyMaintainedClasses, setSimpleName, setSuperclass
capitalize, decapitalize, getClasses, getJam, getOpenWireOpCode, getOpenwireVersion, isAbstract, isCachedProperty, isMarshallAware, isThrowable, isValidProperty, setJam, setOpenwireVersion, stringValue, stringValue, toCSharpType
public CSharpMarshallingGenerator()
public Object run()
run
in class JavaMarshallingGenerator
protected void generateTightUnmarshalBodyForProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateTightUnmarshalBodyForProperty
in class JavaMarshallingGenerator
protected void generateTightUnmarshalBodyForArrayProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateTightUnmarshalBodyForArrayProperty
in class JavaMarshallingGenerator
protected int generateTightMarshal1Body(PrintWriter out)
generateTightMarshal1Body
in class JavaMarshallingGenerator
protected void generateTightMarshal2Body(PrintWriter out)
generateTightMarshal2Body
in class JavaMarshallingGenerator
protected void generateLooseUnmarshalBodyForProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateLooseUnmarshalBodyForProperty
in class JavaMarshallingGenerator
protected void generateLooseUnmarshalBodyForArrayProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateLooseUnmarshalBodyForArrayProperty
in class JavaMarshallingGenerator
protected void generateLooseMarshalBody(PrintWriter out)
generateLooseMarshalBody
in class JavaMarshallingGenerator
public String getTargetDir()
getTargetDir
in class JavaMarshallingGenerator
public void setTargetDir(String targetDir)
setTargetDir
in class JavaMarshallingGenerator
protected void generateFile(PrintWriter out) throws Exception
generateFile
in class JavaMarshallingGenerator
Exception
public void generateFactory(PrintWriter out)
generateFactory
in class JavaMarshallingGenerator
Copyright © 2005–2020 FuseSource, Corp.. All rights reserved.