public class CSharpMarshallingGenerator extends JavaMarshallingGenerator
| Modifier and Type | Field and Description |
|---|---|
protected String |
targetDir |
concreteClasses, factoryFile, factoryFileName, indentbaseClass, buffer, className, destDir, destFile, jclass, manuallyMaintainedClasses, simpleName, superclassfilePostFix, 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, setIndentgetAbstractClassText, getBaseClass, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, isAbstractClass, isMarshallerAware, isValidClass, setBaseClass, setClassName, setDestDir, setDestFile, setJclass, setManuallyMaintainedClasses, setSimpleName, setSuperclasscapitalize, decapitalize, getClasses, getJam, getOpenWireOpCode, getOpenwireVersion, isAbstract, isCachedProperty, isMarshallAware, isThrowable, isValidProperty, setJam, setOpenwireVersion, stringValue, stringValue, toCSharpTypepublic CSharpMarshallingGenerator()
public Object run()
run in class JavaMarshallingGeneratorprotected void generateTightUnmarshalBodyForProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateTightUnmarshalBodyForProperty in class JavaMarshallingGeneratorprotected void generateTightUnmarshalBodyForArrayProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateTightUnmarshalBodyForArrayProperty in class JavaMarshallingGeneratorprotected int generateTightMarshal1Body(PrintWriter out)
generateTightMarshal1Body in class JavaMarshallingGeneratorprotected void generateTightMarshal2Body(PrintWriter out)
generateTightMarshal2Body in class JavaMarshallingGeneratorprotected void generateLooseUnmarshalBodyForProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateLooseUnmarshalBodyForProperty in class JavaMarshallingGeneratorprotected void generateLooseUnmarshalBodyForArrayProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
generateLooseUnmarshalBodyForArrayProperty in class JavaMarshallingGeneratorprotected void generateLooseMarshalBody(PrintWriter out)
generateLooseMarshalBody in class JavaMarshallingGeneratorpublic String getTargetDir()
getTargetDir in class JavaMarshallingGeneratorpublic void setTargetDir(String targetDir)
setTargetDir in class JavaMarshallingGeneratorprotected void generateFile(PrintWriter out) throws Exception
generateFile in class JavaMarshallingGeneratorExceptionpublic void generateFactory(PrintWriter out)
generateFactory in class JavaMarshallingGeneratorCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.