org.eclipse.xpand2.output
Interface PostProcessor

All Known Implementing Classes:
JavaBeautifier, XmlBeautifier

public interface PostProcessor

PostProcessors can be added to the Xpand Generator component to implement manipulations on the generated file content. This is usually helpful for auto-format the generated code.

Since:
4.0

Method Summary
 void afterClose(FileHandle impl)
          Called after the file has been written.
 void beforeWriteAndClose(FileHandle impl)
          Called before the file will be written.
 

Method Detail

beforeWriteAndClose

void beforeWriteAndClose(FileHandle impl)
Called before the file will be written.

Parameters:
impl - A handle to the file that will be written

afterClose

void afterClose(FileHandle impl)
Called after the file has been written.

Parameters:
impl - A handle to the file that has been written

Copyright 2007 committers of openArchitectureWare and others.
All Rights Reserved.