Class DefaultTagProvider

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​TagInfo>, ITagInfoProvider

    public class DefaultTagProvider
    extends java.util.HashMap<java.lang.String,​TagInfo>
    implements ITagInfoProvider
    This class is automatically created from ConfigFileTagProvider which reads default XML configuration file with tag descriptions. It is used as default tag info provider. Class is created for performance purposes - parsing XML file requires some processing time.
    See Also:
    Serialized Form
    • Nested Class Summary

      • 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>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTagInfo​(TagInfo tagInfo)
      Sets new tag info.
      static DefaultTagProvider getInstance()  
      TagInfo getTagInfo​(java.lang.String tagName)  
      void removeTagInfo​(java.lang.String tagName)
      Removes tag info with specified name.
      • 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

      • DefaultTagProvider

        public DefaultTagProvider()
    • Method Detail

      • getInstance

        public static DefaultTagProvider getInstance()
        Returns:
        Singleton instance of this class.
      • removeTagInfo

        public void removeTagInfo​(java.lang.String tagName)
        Removes tag info with specified name.
        Parameters:
        tagName - Name of the tag to be removed from the tag provider.
      • addTagInfo

        public void addTagInfo​(TagInfo tagInfo)
        Sets new tag info.
        Parameters:
        tagInfo - tag info to be added to the provider.