org.apache.axis2.wsdl.codegen.extension
Class AbstractPrettyPrinterExtension
java.lang.Object
org.apache.axis2.wsdl.codegen.extension.AbstractCodeGenerationExtension
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 String |
fileExtension
If the extension for property file changes it might effect this as well !!! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileExtension
protected String fileExtension
- If the extension for property file changes it might effect this as well !!!
AbstractPrettyPrinterExtension
public AbstractPrettyPrinterExtension()
engage
public void engage(CodeGenConfiguration configuration)
throws CodeGenerationException
- Throws:
CodeGenerationException
prettify
protected void prettify(File file,
CodeGenConfiguration configuration)
- Recursive procedure to prettify the files
- Parameters:
file
-
prettifyFile
protected abstract void prettifyFile(File file)
- Implement this to call the proper pretty printers
- Parameters:
file
-
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.