Class YaspPoemProcessor

java.lang.Object
  extended byYaspPoemProcessor

public class YaspPoemProcessor
extends java.lang.Object

Processes a YaspPoem. i.e. attach measure and rhyme scheme.


Constructor Summary
YaspPoemProcessor()
          Create an instance of YaspPoemProcessor.
 
Method Summary
 YaspPoem getYaspPoem()
          Process a given YaspToken source and make it a YaspPoem.
 void processYaspPoem(YaspPoem poem)
          Process a YaspPoem.
 void setSource(java.io.FileReader r)
          Set the source file for processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YaspPoemProcessor

public YaspPoemProcessor()
Create an instance of YaspPoemProcessor.

Method Detail

setSource

public void setSource(java.io.FileReader r)
Set the source file for processing.


getYaspPoem

public YaspPoem getYaspPoem()
Process a given YaspToken source and make it a YaspPoem.

Returns:
YaspPoem (creating also YaspStanzas and YaspVerses)

processYaspPoem

public void processYaspPoem(YaspPoem poem)
Process a YaspPoem.