|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.taglib.MarkerHelper
Helper for implementing task markers on writer output.
Method Summary | |
---|---|
static void |
createMarkerOnWriter(JET2Writer writer,
int start,
int end,
java.lang.String description,
TagInfo tagInfo,
java.lang.String templatePath)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void finalizeContent(JET2Writer writer, java.lang.Object file) throws JET2TagException
IWriterListener
finalizeContent
in interface IWriterListener
writer
- the writer in the process of being finalizedfile
- 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.
JET2TagException
- if the method cannot complete normallypublic void postCommitContent(JET2Writer writer, java.lang.Object file) throws JET2TagException
IWriterListener
postCommitContent
in interface IWriterListener
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.
JET2TagException
- if method cannot complete normally.public static void createMarkerOnWriter(JET2Writer writer, int start, int end, java.lang.String description, TagInfo tagInfo, java.lang.String templatePath)
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |