org.pz.platypus.plugin.rtf
Class RtfOutputStrategy

java.lang.Object
  extended by org.pz.platypus.plugin.rtf.RtfOutputStrategy

public abstract class RtfOutputStrategy
extends java.lang.Object

The strategy base class.

Author:
ask

Constructor Summary
RtfOutputStrategy()
           
 
Method Summary
static RtfOutputStrategy getFormatStrategy(Token tok)
          The "factory method" for creating the correct Strategy instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfOutputStrategy

public RtfOutputStrategy()
Method Detail

getFormatStrategy

public static RtfOutputStrategy getFormatStrategy(Token tok)
The "factory method" for creating the correct Strategy instance. Ideally, this would be the only "switching on types" code.

Parameters:
tok - token that is to be processed
Returns:
The strategy object encapsulating the processing algorithm.


Copyright © 2008-10 Pacific Data Works LLC