Class OpenWireGenerator
- java.lang.Object
-
- org.apache.activemq.openwire.tool.OpenWireGenerator
-
- Direct Known Subclasses:
MultiSourceGenerator,SingleSourceGenerator
public abstract class OpenWireGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringfilePostFixprotected org.codehaus.jam.JamServicejamprotected intopenwireVersion
-
Constructor Summary
Constructors Constructor Description OpenWireGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcapitalize(String text)Stringdecapitalize(String text)org.codehaus.jam.JamClassIteratorgetClasses()org.codehaus.jam.JamServicegetJam()StringgetOpenWireOpCode(org.codehaus.jam.JClass element)intgetOpenwireVersion()booleanisAbstract(org.codehaus.jam.JClass j)booleanisCachedProperty(org.codehaus.jam.JProperty it)booleanisMarshallAware(org.codehaus.jam.JClass j)booleanisThrowable(org.codehaus.jam.JClass j)booleanisValidProperty(org.codehaus.jam.JProperty it)voidsetJam(org.codehaus.jam.JamService jam)voidsetOpenwireVersion(int openwireVersion)protected StringstringValue(org.codehaus.jam.JAnnotation annotation, String name)protected StringstringValue(org.codehaus.jam.JAnnotation annotation, String name, String defaultValue)StringtoCSharpType(org.codehaus.jam.JClass type)Converts the Java type to a C# type name
-
-
-
Field Detail
-
openwireVersion
protected int openwireVersion
-
filePostFix
protected String filePostFix
-
jam
protected org.codehaus.jam.JamService jam
-
-
Method Detail
-
isValidProperty
public boolean isValidProperty(org.codehaus.jam.JProperty it)
-
isCachedProperty
public boolean isCachedProperty(org.codehaus.jam.JProperty it)
-
isAbstract
public boolean isAbstract(org.codehaus.jam.JClass j)
-
isThrowable
public boolean isThrowable(org.codehaus.jam.JClass j)
-
isMarshallAware
public boolean isMarshallAware(org.codehaus.jam.JClass j)
-
getJam
public org.codehaus.jam.JamService getJam()
-
getClasses
public org.codehaus.jam.JamClassIterator getClasses()
-
getOpenwireVersion
public int getOpenwireVersion()
-
setOpenwireVersion
public void setOpenwireVersion(int openwireVersion)
-
toCSharpType
public String toCSharpType(org.codehaus.jam.JClass type)
Converts the Java type to a C# type name
-
getOpenWireOpCode
public String getOpenWireOpCode(org.codehaus.jam.JClass element)
-
stringValue
protected String stringValue(org.codehaus.jam.JAnnotation annotation, String name, String defaultValue)
-
setJam
public void setJam(org.codehaus.jam.JamService jam)
-
-