net.sourceforge.nite.tools.comparison.dualtranscription
Class DualTranscriptionToTextDelegate

java.lang.Object
  extended by net.sourceforge.nite.tools.comparison.dualtranscription.DualTranscriptionToTextDelegate
All Implemented Interfaces:
TranscriptionToTextDelegate

public class DualTranscriptionToTextDelegate
extends java.lang.Object
implements TranscriptionToTextDelegate

A delegate to extract only text from the specified annotator

Author:
Craig Nicol, UEdin

Constructor Summary
DualTranscriptionToTextDelegate(java.lang.String annotatorname, java.lang.String annotatorattr)
           
DualTranscriptionToTextDelegate(java.lang.String annotatorname, java.lang.String annotatorattr, NLayer annotatorlayer)
           
 
Method Summary
 java.lang.String getTextForTranscriptionElement(NOMElement nme)
          Return a string representation for the given element from a transcription layer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DualTranscriptionToTextDelegate

public DualTranscriptionToTextDelegate(java.lang.String annotatorname,
                                       java.lang.String annotatorattr,
                                       NLayer annotatorlayer)

DualTranscriptionToTextDelegate

public DualTranscriptionToTextDelegate(java.lang.String annotatorname,
                                       java.lang.String annotatorattr)
Method Detail

getTextForTranscriptionElement

public java.lang.String getTextForTranscriptionElement(NOMElement nme)
Return a string representation for the given element from a transcription layer.

Specified by:
getTextForTranscriptionElement in interface TranscriptionToTextDelegate