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 String
filePostFix
protected org.codehaus.jam.JamService
jam
protected int
openwireVersion
-
Constructor Summary
Constructors Constructor Description OpenWireGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
capitalize(String text)
String
decapitalize(String text)
org.codehaus.jam.JamClassIterator
getClasses()
org.codehaus.jam.JamService
getJam()
String
getOpenWireOpCode(org.codehaus.jam.JClass element)
int
getOpenwireVersion()
boolean
isAbstract(org.codehaus.jam.JClass j)
boolean
isCachedProperty(org.codehaus.jam.JProperty it)
boolean
isMarshallAware(org.codehaus.jam.JClass j)
boolean
isThrowable(org.codehaus.jam.JClass j)
boolean
isValidProperty(org.codehaus.jam.JProperty it)
void
setJam(org.codehaus.jam.JamService jam)
void
setOpenwireVersion(int openwireVersion)
protected String
stringValue(org.codehaus.jam.JAnnotation annotation, String name)
protected String
stringValue(org.codehaus.jam.JAnnotation annotation, String name, String defaultValue)
String
toCSharpType(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)
-
-