org.andromda.core.common
Interface PostProcessor

All Known Implementing Classes:
ImportBeautifierPostProcessorImpl

public interface PostProcessor

Interface for all PostProcessor

Author:
Plushnikov Michail

Method Summary
 boolean acceptFile(File pFile)
          Determines if this file should be postprocessed in current postprocessor
 String postProcess(String pSource, String pPreviousData)
          Postprocess the source
 

Method Detail

acceptFile

boolean acceptFile(File pFile)
Determines if this file should be postprocessed in current postprocessor

Parameters:
pFile - file for postprocessing
Returns:
true if postprocessing should be done, false sonst

postProcess

String postProcess(String pSource,
                   String pPreviousData)
                   throws Exception
Postprocess the source

Parameters:
pSource - the Source for postprocessing
pPreviousData - the Source of existing file, may be null or empty
Returns:
postprocessed source
Throws:
Exception - on errors occurred


Copyright © 2003-2012 AndroMDA.org. All Rights Reserved.