- Type Parameters:
T
- the type of values associated with the key.
- All Implemented Interfaces:
Serializable
,Comparable<Configuration.Key<?>>
,ControlledVocabulary
- Enclosing class:
Configuration
Type-safe keys that can be used in a
Configuration
map.
This code list is extensible: users can create new instances by
invoking the valueOf(String, Class)
static method.
Note on field names
Every constants declared in this class have a name matching exactly the field names inTestCase
subclasses. This is a departure from the usual all upper-case lettersconvention, but make the relationship with fields more obvious and the parsing of
Properties
files easier.- Since:
- 3.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Configuration.Key
<CoordinateOperationAuthorityFactory> The Coordinate Operation authority factory instance used for a test.static final Configuration.Key
<CoordinateOperationFactory> The Coordinate Operation factory instance used for a test.static final Configuration.Key
<CRSAuthorityFactory> The Coordinate Reference System authority factory instance used for a test.static final Configuration.Key
<CRSFactory> The Coordinate Reference System factory instance used for a test.static final Configuration.Key
<CSAuthorityFactory> The Coordinate System authority factory instance used for a test.static final Configuration.Key
<CSFactory> The Coordinate System factory instance used for a test.static final Configuration.Key
<DatumAuthorityFactory> The Datum authority factory instance used for a test.static final Configuration.Key
<DatumFactory> The Datum factory instance used for a test.static final Configuration.Key
<Boolean> Whether (y,x) axis order is supported.static final Configuration.Key
<Boolean> Whether theIdentifiedObject
instances created indirectly by the factories are expected to have correct identification information.static final Configuration.Key
<Boolean> Whether the authority factory supports creation of deprecatedIdentifiedObject
instances.static final Configuration.Key
<Boolean> WhetherMathTransform.derivative(DirectPosition)
is supported.static final Configuration.Key
<Boolean> WhetherMathTransform.transform(double[], int, double[], int, int)
is supported.static final Configuration.Key
<Boolean> WhetherMathTransform.transform(double[], int, float[], int, int)
is supported.static final Configuration.Key
<Boolean> Whether the objects created by the testedObjectFactory
use the specified values as-is.static final Configuration.Key
<Boolean> WhetherMathTransform.transform(float[], int, double[], int, int)
is supported.static final Configuration.Key
<Boolean> WhetherMathTransform.transform(float[], int, float[], int, int)
is supported.static final Configuration.Key
<Boolean> WhetherMathTransform.inverse()
is supported.static final Configuration.Key
<Boolean> Whether theGenericName
instances can apply different syntax rules in different parts of their name.static final Configuration.Key
<Boolean> Whether theInternationalString
instances can support more than oneLocale
.static final Configuration.Key
<Boolean> WhetherMathTransformFactory
can create transforms between spaces that are not two-dimensional.static final Configuration.Key
<Boolean> WhetherMathTransformFactory.createAffineTransform(Matrix)
accepts non-square matrixes.static final Configuration.Key
<Boolean> Whether source and destination arrays can overlap inMathTransform
operations.static final Configuration.Key
<Boolean> Whether theIdentifiedObject
instances have at least the aliases declared in the EPSG database.static final Configuration.Key
<Boolean> Whether theIdentifiedObject
instances have names matching the names declared in the EPSG database.static final Configuration.Key
<Boolean> Whether the tolerance threshold of aTransformTestCase
has been relaxed.static final Configuration.Key
<Boolean> Whether the test methods can invoke avalidators.validate(…)}
method.static final Configuration.Key
<MathTransformFactory> The Math Transform factory instance used for a test.static final Configuration.Key
<Units> The provider of units to use for tests.static final Configuration.Key
<ValidatorContainer> The set ofValidator
instances to use for validating objects. -
Method Summary
Modifier and TypeMethodDescriptionConfiguration.Key<?>[]
family()
Returns the list of codes of the same kind as this code list element.static <T> Configuration.Key
<? extends T> Returns the key that matches the given name, or returns a new one if none match it.static Configuration.Key<?>[]
values()
Returns the list ofKey
s.Returns the type of values assigned to this key.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
isMultiLocaleSupported
Whether theInternationalString
instances can support more than oneLocale
. Iffalse
, then the factory method may retain only one locale among the set of user-provided localized strings.- See Also:
-
isMixedNameSyntaxSupported
Whether theGenericName
instances can apply different syntax rules in different parts of their name. Iftrue
, then URI using different separators in different parts of their name (e.g.":"
,"."
,"/"
and"#"
in"http://www.opengis.net/gml/srs/epsg.xml#4326"
) are supported. Iffalse
, then only a single rule can be applied to the name as a whole (e.g. only the":"
separator is used in"urn:ogc:def:crs:epsg:4326"
).- See Also:
-
isStandardNameSupported
Whether theIdentifiedObject
instances have names matching the names declared in the EPSG database. -
isStandardAliasSupported
Whether theIdentifiedObject
instances have at least the aliases declared in the EPSG database. -
isDependencyIdentificationSupported
Whether theIdentifiedObject
instances created indirectly by the factories are expected to have correct identification information. -
isDeprecatedObjectCreationSupported
Whether the authority factory supports creation of deprecatedIdentifiedObject
instances. -
isDoubleToDoubleSupported
WhetherMathTransform.transform(double[], int, double[], int, int)
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isFloatToFloatSupported
WhetherMathTransform.transform(float[], int, float[], int, int)
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isDoubleToFloatSupported
WhetherMathTransform.transform(double[], int, float[], int, int)
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isFloatToDoubleSupported
WhetherMathTransform.transform(float[], int, double[], int, int)
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isOverlappingArraySupported
Whether source and destination arrays can overlap inMathTransform
operations. Overlapping occur when:- The invoked method is one of the following:
- The
srcPts
anddstPts
arguments are references to the same array. - The
srcOff
anddstOff
offsets are such that the source region of the array overlaps with the target region.
- See Also:
-
isInverseTransformSupported
WhetherMathTransform.inverse()
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isDerivativeSupported
WhetherMathTransform.derivative(DirectPosition)
is supported. Implementers can set the value for this key tofalse
in order to testMathTransform
instances which are not yet fully implemented.- See Also:
-
isNonSquareMatrixSupported
WhetherMathTransformFactory.createAffineTransform(Matrix)
accepts non-square matrixes.- See Also:
-
isNonBidimensionalSpaceSupported
WhetherMathTransformFactory
can create transforms between spaces that are not two-dimensional. Iftrue
, then the tested spaces may be one-dimensional (typically elevation or time), three-dimensional or four-dimensional.- See Also:
-
isAxisSwappingSupported
Whether (y,x) axis order is supported. This axis swapping is not supported, then the tests that would normally expect (y,x) axis order or South Oriented CRS will rather use the (x,y) axis order and North Oriented CRS in their test.- See Also:
-
isValidationEnabled
Whether the test methods can invoke avalidators.validate(…)}
method. GeoAPI allows to disable the validation checks in some tests where strict conformance to a standard is relaxed.Example: ISO 19111 (the Referencing by Coordinates abstract model) specifies that the name of the latitude axis in a geographic CRS shall beGeodetic latitude
while ISO 19162 (a.k.a Well Known Text 2) specifiesLatitude
. Consequently, the GeoAPI conformance module allows implementer to disable the check for ISO 19111 conformance if their WKT parser does not adapt the parsed CRS objects to the ISO 19111 axis naming.- See Also:
-
isToleranceRelaxed
Whether the tolerance threshold of aTransformTestCase
has been relaxed. This information is determined after test execution. -
units
The provider of units to use for tests. If this configuration hint is not specified, then the default instance is used. -
mtFactory
The Math Transform factory instance used for a test.- See Also:
-
copFactory
The Coordinate Operation factory instance used for a test.- See Also:
-
copAuthorityFactory
The Coordinate Operation authority factory instance used for a test. -
crsFactory
The Coordinate Reference System factory instance used for a test.- See Also:
-
crsAuthorityFactory
The Coordinate Reference System authority factory instance used for a test.- See Also:
-
csFactory
The Coordinate System factory instance used for a test.- See Also:
-
csAuthorityFactory
The Coordinate System authority factory instance used for a test.- See Also:
-
datumFactory
The Datum factory instance used for a test.- See Also:
-
datumAuthorityFactory
The Datum authority factory instance used for a test.- See Also:
-
isFactoryPreservingUserValues
Whether the objects created by the testedObjectFactory
use the specified values as-is. This flag should be set tofalse
if the factory performs any of the following operations:- Convert numerical values from user-provided linear units to metres.
- Convert numerical values from user-provided angular units to degrees.
- Change ellipsoid second defining parameter (e.g. from semi-major axis length to an equivalent inverse flattening factor).
- Change map projection parameters (e.g. from standard parallel to an equivalent scale factor).
- Any other change that preserve numeric equivalence.
true
. -
validators
The set ofValidator
instances to use for validating objects. If no value is provided for this key, then the system-wide default validators are used.- See Also:
-
-
Method Details
-
valueOf
Returns the key that matches the given name, or returns a new one if none match it. If no existing instance is found, then a new one is created for the given name and type.- Type Parameters:
T
- the type of the key to fetch.- Parameters:
name
- the name of the key to fetch or to create.type
- the type of the key to fetch.- Returns:
- a key matching the given name.
- Throws:
NullPointerException
- if the given name or type isnull
.ClassCastException
- if a key is found but the type is not assignable to the given type.
-
values
Returns the list ofKey
s.- Returns:
- the list of keys declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<Configuration.Key<?>>
- Returns:
- all code values for this code list.
-
valueType
-