com.mchange.v2.codegen.bean
Class PropsToStringGeneratorExtension

java.lang.Object
  extended by com.mchange.v2.codegen.bean.PropsToStringGeneratorExtension
All Implemented Interfaces:
GeneratorExtension

public class PropsToStringGeneratorExtension
extends Object
implements GeneratorExtension


Constructor Summary
PropsToStringGeneratorExtension()
           
 
Method Summary
 Collection extraGeneralImports()
           
 Collection extraInterfaceNames()
           
 Collection extraSpecificImports()
           
 void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw)
           
 Collection getExcludePropertyNames()
           
 void setExcludePropertyNames(Collection excludePropNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropsToStringGeneratorExtension

public PropsToStringGeneratorExtension()
Method Detail

setExcludePropertyNames

public void setExcludePropertyNames(Collection excludePropNames)

getExcludePropertyNames

public Collection getExcludePropertyNames()

extraGeneralImports

public Collection extraGeneralImports()
Specified by:
extraGeneralImports in interface GeneratorExtension

extraSpecificImports

public Collection extraSpecificImports()
Specified by:
extraSpecificImports in interface GeneratorExtension

extraInterfaceNames

public Collection extraInterfaceNames()
Specified by:
extraInterfaceNames in interface GeneratorExtension

generate

public void generate(ClassInfo info,
                     Class superclassType,
                     Property[] props,
                     Class[] propTypes,
                     IndentedWriter iw)
              throws IOException
Specified by:
generate in interface GeneratorExtension
Throws:
IOException