Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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