Class TagMap

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map

    class TagMap
    extends java.util.HashMap
    The Tags-class maps several XHTML-tags to iText-objects.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private class  TagMap.AttributeHandler  
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      TagMap​(java.io.InputStream in)
      Constructs a TagMap.
      TagMap​(java.lang.String tagfile)
      Constructs a TagMap
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void init​(java.io.InputStream in)  
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Constructor Detail

      • TagMap

        public TagMap​(java.lang.String tagfile)
        Constructs a TagMap
        Parameters:
        tagfile - the path to an XML file with the tagmap
      • TagMap

        public TagMap​(java.io.InputStream in)
        Constructs a TagMap.
        Parameters:
        in - An InputStream with the tagmap xml
    • Method Detail

      • init

        private void init​(java.io.InputStream in)