com.lowagie.text.rtf.parser.ctrlwords

Class RtfCtrlWordMap

final class RtfCtrlWordMap extends Object

RtfCtrlWords handles the creation of the control word wiring. It is a class containing the hash map of the control words (key) and their associated class (value).

Since: 2.0.8

Author: Howard Shank (hgshank@yahoo.com)

Field Summary
HashMapctrlWords
Control Word HashMap mapping object.
Constructor Summary
RtfCtrlWordMap(RtfParser rtfParser)
Constructor
Method Summary
RtfCtrlWordHandlergetCtrlWordHandler(String ctrlWord)
Get the HashMap object containing the control words.

Field Detail

ctrlWords

private HashMap ctrlWords
Control Word HashMap mapping object.

Constructor Detail

RtfCtrlWordMap

public RtfCtrlWordMap(RtfParser rtfParser)
Constructor

Parameters: rtfParser The parser object.

Since: 2.0.8

Method Detail

getCtrlWordHandler

public RtfCtrlWordHandler getCtrlWordHandler(String ctrlWord)
Get the HashMap object containing the control words. Initializes the instance if this is the first instantiation of RtfCtrlWords class.

Since: 2.0.8