Class TLcdNVGModifiers

java.lang.Object
com.luciad.format.nvg.model.TLcdNVGModifiers
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>

public class TLcdNVGModifiers extends Object implements Iterable<Map.Entry<String,String>>
Object representing the 'modifiers' attribute, which is used to associate additional information with the symbol attribute. As such, the modifiers attribute will not exist without a corresponding symbol attribute. With respect to APP-6A, APP-6B and MIL-STD-2525B the modifiers are used to encode the Symbol Modifiers Fields as specified in the symbology documentation. The modifiers attribute consists of a list of key-value pairs.
Since:
2015.0
  • Constructor Details

    • TLcdNVGModifiers

      public TLcdNVGModifiers()
  • Method Details

    • putModifier

      public void putModifier(String aKey, String aValue)
      Adds a key-value pair to the map of text modifiers.
      Parameters:
      aKey - The key of the text modifier to add.
      aValue - The value of the text modifier to add.
    • getModifier

      public String getModifier(String aKey)
      Adds a key-value pair to the map of text modifiers.
      Parameters:
      aKey - the key of the text modifier to add
      Returns:
      the value of the text modifier or null
    • getModifiersCount

      public int getModifiersCount()
      Returns the number of given modifiers for this object in the NVG standard.
      Returns:
      The number of given modifiers for this object in the NVG standard.
    • iterator

      public Iterator<Map.Entry<String,String>> iterator()
      Specified by:
      iterator in interface Iterable<Map.Entry<String,String>>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object