Class RtfCtrlWordMap
- java.lang.Object
-
- com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordMap
-
final class RtfCtrlWordMap extends java.lang.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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,RtfCtrlWordHandler>
ctrlWords
Control Word HashMap mapping object.
-
Constructor Summary
Constructors Constructor Description RtfCtrlWordMap(RtfParser rtfParser)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RtfCtrlWordHandler
getCtrlWordHandler(java.lang.String ctrlWord)
Get the HashMap object containing the control words.
-
-
-
Field Detail
-
ctrlWords
private final java.util.Map<java.lang.String,RtfCtrlWordHandler> ctrlWords
Control Word HashMap mapping object.
-
-
Constructor Detail
-
RtfCtrlWordMap
RtfCtrlWordMap(RtfParser rtfParser)
Constructor- Parameters:
rtfParser
- The parser object.- Since:
- 2.0.8
-
-
Method Detail
-
getCtrlWordHandler
public RtfCtrlWordHandler getCtrlWordHandler(java.lang.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
-
-