public final class MilitarySymbology extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
MilitarySymbology.Standard
The supported symbology standards.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
static MilitarySymbology |
get(MilitarySymbology.Standard standard)
Returns the symbology for the given identifier.
|
List<MilitarySymbologyNode> |
getAllSymbols()
Returns the list of symbols pertaining to this military symbology.
|
String |
getName()
Returns the symbology's name.
|
MilitarySymbologyNode |
getRootSymbolNode()
Returns the root node of the symbology hierarchy.
|
MilitarySymbology.Standard |
getStandard()
Returns the symbology's standard.
|
MilitarySymbologyNode |
getSymbolNode(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. |
public void close()
close
in interface AutoCloseable
@NotNull public static MilitarySymbology get(@NotNull MilitarySymbology.Standard standard)
standard
- the symbology standard to load.@NotNull public String getName()
@NotNull public MilitarySymbology.Standard getStandard()
@NotNull public MilitarySymbologyNode getRootSymbolNode()
@NotNull public List<MilitarySymbologyNode> getAllSymbols()
@Nullable public MilitarySymbologyNode getSymbolNode(@NotNull String code)
null
if the given code is not present in this hierarchy.code
- the code of the symbol.null
if the given code is not present in this hierarchy.