org.kefirsf.bb
Class EscapeProcessor
java.lang.Object
org.kefirsf.bb.TextProcessorAdapter
org.kefirsf.bb.EscapeProcessor
- All Implemented Interfaces:
- TextProcessor
public class EscapeProcessor
- extends TextProcessorAdapter
Class for escape processing. For example, EscapeXmlProcessorFactory use this class for create EscapeXmlProcessor.
- Author:
- Kefir
|
Constructor Summary |
EscapeProcessor(String[][] escape)
Construct the escape processor with special escape symbols. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EscapeProcessor
public EscapeProcessor(String[][] escape)
- Construct the escape processor with special escape symbols.
- Parameters:
escape - escape symbols with replacement. This is a array of array wich consist of two strings
the pattern and the replacement
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.