com.interrupt.bob
Class ClassGenerator

java.lang.Object
  extended bycom.interrupt.bob.ClassGenerator
All Implemented Interfaces:
IGenerator

public class ClassGenerator
extends java.lang.Object
implements IGenerator


Method Summary
 void appendAdders(IBob td, java.lang.StringBuffer sb)
           
 void appendAttribute(java.lang.String attName, java.lang.StringBuffer sb)
           
 void appendAttributeAccessors(java.lang.String attName, java.lang.StringBuffer sb)
           
 void appendChild(java.lang.String tagName, java.lang.StringBuffer sb)
           
 void appendClassName(java.lang.String visibility, java.lang.String clazz, java.lang.String clazzName, java.lang.StringBuffer sb)
           
 void appendClose(java.lang.StringBuffer sb)
           
 void appendFinders(IBob td, java.lang.StringBuffer sb)
           
 void appendPackage(java.lang.String nameSpace, java.lang.StringBuffer sb)
           
 void appendRemovers(IBob td, java.lang.StringBuffer sb)
           
static IGenerator getInstance()
           
static void main(java.lang.String[] args)
           
 void mergeTemplate(org.apache.velocity.VelocityContext context, java.lang.String tplName, java.lang.StringBuffer sb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IGenerator getInstance()

mergeTemplate

public void mergeTemplate(org.apache.velocity.VelocityContext context,
                          java.lang.String tplName,
                          java.lang.StringBuffer sb)
Specified by:
mergeTemplate in interface IGenerator

appendClassName

public void appendClassName(java.lang.String visibility,
                            java.lang.String clazz,
                            java.lang.String clazzName,
                            java.lang.StringBuffer sb)
Specified by:
appendClassName in interface IGenerator

appendAttribute

public void appendAttribute(java.lang.String attName,
                            java.lang.StringBuffer sb)
Specified by:
appendAttribute in interface IGenerator

appendAttributeAccessors

public void appendAttributeAccessors(java.lang.String attName,
                                     java.lang.StringBuffer sb)
Specified by:
appendAttributeAccessors in interface IGenerator

appendChild

public void appendChild(java.lang.String tagName,
                        java.lang.StringBuffer sb)
Specified by:
appendChild in interface IGenerator

appendAdders

public void appendAdders(IBob td,
                         java.lang.StringBuffer sb)
Specified by:
appendAdders in interface IGenerator

appendFinders

public void appendFinders(IBob td,
                          java.lang.StringBuffer sb)
Specified by:
appendFinders in interface IGenerator

appendRemovers

public void appendRemovers(IBob td,
                           java.lang.StringBuffer sb)
Specified by:
appendRemovers in interface IGenerator

appendClose

public void appendClose(java.lang.StringBuffer sb)
Specified by:
appendClose in interface IGenerator

appendPackage

public void appendPackage(java.lang.String nameSpace,
                          java.lang.StringBuffer sb)
Specified by:
appendPackage in interface IGenerator

main

public static void main(java.lang.String[] args)