com.itextpdf.text.pdf.parser
Class FilteredTextRenderListener

java.lang.Object
  extended by com.itextpdf.text.pdf.parser.FilteredRenderListener
      extended by com.itextpdf.text.pdf.parser.FilteredTextRenderListener
All Implemented Interfaces:
RenderListener, TextProvidingRenderListener

public class FilteredTextRenderListener
extends FilteredRenderListener
implements TextProvidingRenderListener

A text render listener that filters text operations before passing them on to a delegate

Since:
5.0.1

Field Summary
private  TextProvidingRenderListener delegate
          The delegate that will receive the text render operation if the filters all pass
 
Constructor Summary
FilteredTextRenderListener(TextProvidingRenderListener delegate, RenderFilter... filters)
          Construction
 
Method Summary
 String getResultantText()
          This class delegates this call
 
Methods inherited from class com.itextpdf.text.pdf.parser.FilteredRenderListener
beginTextBlock, endTextBlock, renderImage, renderText, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.itextpdf.text.pdf.parser.RenderListener
beginTextBlock, endTextBlock, renderImage, renderText, reset
 

Field Detail

delegate

private final TextProvidingRenderListener delegate
The delegate that will receive the text render operation if the filters all pass

Constructor Detail

FilteredTextRenderListener

public FilteredTextRenderListener(TextProvidingRenderListener delegate,
                                  RenderFilter... filters)
Construction

Parameters:
delegate - the delegate RenderListener that will receive filtered text operations
filters - the filter(s) to apply
Method Detail

getResultantText

public String getResultantText()
This class delegates this call

Specified by:
getResultantText in interface TextProvidingRenderListener
Returns:
a String with the resulting text.
See Also:
TextProvidingRenderListener.getResultantText()

Hosted by Hostbasket