com.lowagie.text.pdf.hyphenation
public class SimplePatternParser extends Object implements SimpleXMLDocHandler, PatternConsumer
| Field Summary | |
|---|---|
| PatternConsumer | consumer |
| int | currElement |
| ArrayList | exception |
| static int | ELEM_CLASSES |
| static int | ELEM_EXCEPTIONS |
| static int | ELEM_HYPHEN |
| static int | ELEM_PATTERNS |
| char | hyphenChar |
| SimpleXMLParser | parser |
| StringBuffer | token |
| Constructor Summary | |
|---|---|
| SimplePatternParser() Creates a new instance of PatternParser2 | |
| Method Summary | |
|---|---|
| void | addClass(String c) |
| void | addException(String w, ArrayList e) |
| void | addPattern(String p, String v) |
| void | endDocument() |
| void | endElement(String tag) |
| protected String | getExceptionWord(ArrayList ex) |
| protected static String | getInterletterValues(String pat) |
| protected static String | getPattern(String word) |
| static void | main(String[] args) |
| protected ArrayList | normalizeException(ArrayList ex) |
| void | parse(InputStream stream, PatternConsumer consumer) |
| void | startDocument() |
| void | startElement(String tag, HashMap h) |
| void | text(String str) |