org.apache.axis2.wsdl.codegen.extension
Class AbstractPrettyPrinterExtension

java.lang.Object
  extended by org.apache.axis2.wsdl.codegen.extension.AbstractCodeGenerationExtension
      extended by org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension
All Implemented Interfaces:
CodeGenExtension
Direct Known Subclasses:
JavaPrettyPrinterExtension, WSDLPrettyPrinterExtension, XMLPrettyPrinterExtension

public abstract class AbstractPrettyPrinterExtension
extends AbstractCodeGenerationExtension


Field Summary
protected  java.lang.String fileExtension
          If the extension for property file changes it might effect this as well !!!
 
Fields inherited from class org.apache.axis2.wsdl.codegen.extension.AbstractCodeGenerationExtension
log
 
Constructor Summary
AbstractPrettyPrinterExtension()
           
 
Method Summary
 void engage(CodeGenConfiguration configuration)
           
protected  void prettify(java.io.File file, CodeGenConfiguration configuration)
          Recursive procedure to prettify the files
protected abstract  void prettifyFile(java.io.File file)
          Implement this to call the proper pretty printers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileExtension

protected java.lang.String fileExtension
If the extension for property file changes it might effect this as well !!!

Constructor Detail

AbstractPrettyPrinterExtension

public AbstractPrettyPrinterExtension()
Method Detail

engage

public void engage(CodeGenConfiguration configuration)
            throws CodeGenerationException
Throws:
CodeGenerationException

prettify

protected void prettify(java.io.File file,
                        CodeGenConfiguration configuration)
Recursive procedure to prettify the files

Parameters:
file -

prettifyFile

protected abstract void prettifyFile(java.io.File file)
Implement this to call the proper pretty printers

Parameters:
file -


Copyright © 2007 Apache Web Services Project. All Rights Reserved.