net.sourceforge.rtf.context
Class RTFContextFieldsReader

java.lang.Object
  extended by net.sourceforge.rtf.context.AbstractRTFContextReader
      extended by net.sourceforge.rtf.context.RTFContextFieldsReader

public class RTFContextFieldsReader
extends AbstractRTFContextReader

Implement AbstractRTFContextReader to Read velocity context and populate RTFContextFields class with all keys putted into Velocity Context.

Version:
1.0.0
Author:
Angelo ZERR

Constructor Summary
RTFContextFieldsReader()
           
 
Method Summary
protected  void addBookmark(java.lang.String bookmarkName, java.lang.String type)
          Add Bookmark
protected  void addMergeField(java.lang.String mergeFieldName, boolean mergeFieldIsList, java.lang.String mergeFieldNameWithListInfo, boolean isImage)
          Add field
protected  void endReading()
           
 RTFContextFields getContextFields()
           
protected  void startReading()
           
 
Methods inherited from class net.sourceforge.rtf.context.AbstractRTFContextReader
excludePackageName, readContext, readContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTFContextFieldsReader

public RTFContextFieldsReader()
Method Detail

startReading

protected void startReading()
Specified by:
startReading in class AbstractRTFContextReader

endReading

protected void endReading()
Specified by:
endReading in class AbstractRTFContextReader

addMergeField

protected void addMergeField(java.lang.String mergeFieldName,
                             boolean mergeFieldIsList,
                             java.lang.String mergeFieldNameWithListInfo,
                             boolean isImage)
Add field

Specified by:
addMergeField in class AbstractRTFContextReader

getContextFields

public RTFContextFields getContextFields()

addBookmark

protected void addBookmark(java.lang.String bookmarkName,
                           java.lang.String type)
Add Bookmark

Specified by:
addBookmark in class AbstractRTFContextReader


Copyright 2007 null. All Rights Reserved.