Package org.apache.sis.console
Enum OutputFormat
- All Implemented Interfaces:
Serializable
,Comparable<OutputFormat>
,java.lang.constant.Constable
The output format specified by the user as an option.
- Since:
- 0.8
- Version:
- 0.8
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionXML format used for GPS data exchange.Arbitrary text, if possible similar to Well Known Text (WKT) but not necessarily.Well Known Text format, used for geometric objects and Coordinate Reference Systems.Standardized XML format as defined by ISO 19115-3 or by GML. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends DataStoreProvider>
The provider class for this format. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
OutputFormat
(Class<? extends DataStoreProvider> provider) Creates a new enumeration value. -
Method Summary
Modifier and TypeMethodDescription(package private) final DataStoreProvider
provider()
Returns the data store provider, ornull
if none.static OutputFormat
Returns the enum constant of this type with the specified name.static OutputFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TEXT
Arbitrary text, if possible similar to Well Known Text (WKT) but not necessarily. -
WKT
Well Known Text format, used for geometric objects and Coordinate Reference Systems. -
XML
Standardized XML format as defined by ISO 19115-3 or by GML. -
GPX
XML format used for GPS data exchange.
-
-
Field Details
-
providerClass
The provider class for this format.
-
-
Constructor Details
-
OutputFormat
Creates a new enumeration value.- Parameters:
provider
- The provider class for this format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
provider
Returns the data store provider, ornull
if none.- Throws:
InvalidOptionException
-