Package com.luciad.symbology.military
Class MilitarySymbology
java.lang.Object
com.luciad.symbology.military.MilitarySymbology
- All Implemented Interfaces:
AutoCloseable
Encapsulates the symbol hierarchy of a symbology standard.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The supported symbology standards. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
static MilitarySymbology
get
(MilitarySymbology.Standard standard) Returns the symbology for the given identifier.List
<@NotNull MilitarySymbologyNode> Returns the list of symbols pertaining to this military symbology.getName()
Returns the symbology's name.Returns the root node of the symbology hierarchy.Returns the symbology's standard.getSymbolNode
(String code) Returns the node corresponding to the given code in the symbology hierarchy, ornull
if the given code is not present in this hierarchy.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
get
Returns the symbology for the given identifier.- Parameters:
standard
- the symbology standard to load.- Returns:
- the symbology for the given identifier.
-
getName
Returns the symbology's name.- Returns:
- the symbology's name.
-
getStandard
Returns the symbology's standard.- Returns:
- the symbology's standard
-
getRootSymbolNode
Returns the root node of the symbology hierarchy.- Returns:
- the root node of the symbology hierarchy.
-
getAllSymbols
Returns the list of symbols pertaining to this military symbology.- Returns:
- the list of symbols pertaining to this military symbology
-
getSymbolNode
Returns the node corresponding to the given code in the symbology hierarchy, ornull
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.
-