Class MilitarySymbology

java.lang.Object
com.luciad.symbology.military.MilitarySymbology
All Implemented Interfaces:
AutoCloseable

public final class MilitarySymbology extends Object implements AutoCloseable
Encapsulates the symbol hierarchy of a symbology standard.
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • get Link icon

      @NotNull public static MilitarySymbology get(@NotNull MilitarySymbology.Standard standard)
      Returns the symbology for the given identifier.
      Parameters:
      standard - the symbology standard to load.
      Returns:
      the symbology for the given identifier.
    • getName Link icon

      @NotNull public String getName()
      Returns the symbology's name.
      Returns:
      the symbology's name.
    • getStandard Link icon

      @NotNull public MilitarySymbology.Standard getStandard()
      Returns the symbology's standard.
      Returns:
      the symbology's standard
    • getRootSymbolNode Link icon

      @NotNull public MilitarySymbologyNode getRootSymbolNode()
      Returns the root node of the symbology hierarchy.
      Returns:
      the root node of the symbology hierarchy.
    • getAllSymbols Link icon

      @NotNull public List<@NotNull MilitarySymbologyNode> getAllSymbols()
      Returns the list of symbols pertaining to this military symbology.
      Returns:
      the list of symbols pertaining to this military symbology
    • getSymbolNode Link icon

      @Nullable public MilitarySymbologyNode getSymbolNode(@NotNull String code)
      Returns the node corresponding to the given code in the symbology hierarchy, or null if the given code is not present in this hierarchy.
      Parameters:
      code - the code of the symbol.
      Returns:
      the node corresponding to the given code in the symbology hierarchy, or null if the given code is not present in this hierarchy.