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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe supported symbology standards. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()static MilitarySymbologyget(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, ornullif the given code is not present in this hierarchy.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein 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, ornullif 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
nullif the given code is not present in this hierarchy.
-