org.kefirsf.bb
Class TextProcessorChain

java.lang.Object
  extended by org.kefirsf.bb.TextProcessorAdapter
      extended by org.kefirsf.bb.TextProcessorChain
All Implemented Interfaces:
TextProcessor

public class TextProcessorChain
extends TextProcessorAdapter

Chain of text processors wich process text serially

Author:
Kefir

Constructor Summary
TextProcessorChain(List<? extends TextProcessor> processors)
           
 
Method Summary
 CharSequence process(CharSequence source)
          Process the text
 
Methods inherited from class org.kefirsf.bb.TextProcessorAdapter
process, process, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextProcessorChain

public TextProcessorChain(List<? extends TextProcessor> processors)
Method Detail

process

public CharSequence process(CharSequence source)
Process the text

Parameters:
source - the sourcetext
Returns:
the result of text processing
See Also:
TextProcessor.process(CharSequence)


Copyright © 2013. All Rights Reserved.