Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.jet
Interface IWriterListener

All Known Implementing Classes:
MarkerHelper, UserRegionHelper

public interface IWriterListener

Callback interface allowing participation in the finalization of a JET2Writer's content.


Method Summary
 void finalizeContent ( JET2Writer writer, java.lang.Object file)
          Perform any finalization of the content in the writer.
 void postCommitContent ( JET2Writer writer, java.lang.Object file)
          Perform any post processing on the committed file based on content written.
 

Method Detail

finalizeContent

void finalizeContent(
JET2Writer writer,
                     java.lang.Object file)
                     throws 
JET2TagException
Perform any finalization of the content in the writer.

Parameters:
writer - the writer in the process of being finalized
file - a handle to object to which the content will ultimately be written. The standard JET2 Workspace tags pass an org.eclipse.core.resources.IFile, but other tags may pass objects of other types.
Throws:
JET2TagException - if the method cannot complete normally

postCommitContent

void postCommitContent(
JET2Writer writer,
                       java.lang.Object file)
                       throws 
JET2TagException
Perform any post processing on the committed file based on content written.

Parameters:
writer - the writer that provided the committed content.
file - a handle to the object containing the comitted content. The standard JET2 Workspace tags pass an org.eclipse.core.resources.IFile, but other tags may pass objects of other types.
Throws:
JET2TagException - if method cannot complete normally.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire