Package org.orekit.gnss.metric.ntrip
Enum NavigationSystem
- java.lang.Object
-
- java.lang.Enum<NavigationSystem>
-
- org.orekit.gnss.metric.ntrip.NavigationSystem
-
- All Implemented Interfaces:
Serializable
,Comparable<NavigationSystem>
public enum NavigationSystem extends Enum<NavigationSystem>
Enumerate for navigation system inDataStreamRecord
.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationSystem
getNavigationSystem(String keyword)
Get the navigation system corresponding to a keyword.String
toString()
static NavigationSystem
valueOf(String name)
Returns the enum constant of this type with the specified name.static NavigationSystem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GPS
public static final NavigationSystem GPS
GPS.
-
GLO
public static final NavigationSystem GLO
Glonass.
-
GAL
public static final NavigationSystem GAL
Galileo.
-
BDS
public static final NavigationSystem BDS
Beidou.
-
QZS
public static final NavigationSystem QZS
QZNSS.
-
SBAS
public static final NavigationSystem SBAS
SBAS.
-
EMPTY
public static final NavigationSystem EMPTY
No navigation system for this stream.
-
-
Method Detail
-
values
public static NavigationSystem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NavigationSystem c : NavigationSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NavigationSystem valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<NavigationSystem>
-
getNavigationSystem
public static NavigationSystem getNavigationSystem(String keyword)
Get the navigation system corresponding to a keyword.- Parameters:
keyword
- navigation system keyword- Returns:
- the navigation system corresponding to the keyword
-
-