org.apache.activemq.openwire.tool
Class OpenWireGenerator

java.lang.Object
  extended by org.apache.activemq.openwire.tool.OpenWireGenerator
Direct Known Subclasses:
MultiSourceGenerator, SingleSourceGenerator

public abstract class OpenWireGenerator
extends Object


Field Summary
protected  String filePostFix
           
protected  org.codehaus.jam.JamService jam
           
protected  int openwireVersion
           
 
Constructor Summary
OpenWireGenerator()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

openwireVersion

protected int openwireVersion

filePostFix

protected String filePostFix

jam

protected org.codehaus.jam.JamService jam
Constructor Detail

OpenWireGenerator

public OpenWireGenerator()
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)

stringValue

protected String stringValue(org.codehaus.jam.JAnnotation annotation,
                             String name,
                             String defaultValue)

setJam

public void setJam(org.codehaus.jam.JamService jam)

decapitalize

public String decapitalize(String text)

capitalize

public String capitalize(String text)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.