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
Fields Modifier and Type Field Description protected 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
Constructors Constructor Description AbstractPrettyPrinterExtension()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
engage(CodeGenConfiguration configuration)
protected void
prettify(File file, CodeGenConfiguration configuration)
Recursive procedure to prettify the filesprotected abstract void
prettifyFile(File file)
Implement this to call the proper pretty printers
-
-
-
Field Detail
-
fileExtension
protected String fileExtension
If the extension for property file changes it might effect this as well !!!
-
-
Method Detail
-
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
-
-
-