- Enclosing class:
The domain of the search (for example whether to include deprecated objects in the search).
Defined in the
Nested Class Summary
Enum Constant Summary
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.
values()Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
DECLARATIONpublic static final IdentifiedObjectFinder.Domain DECLARATIONFast lookup based only on embedded identifiers and names. If those identification information does not allow to locate an object in the factory, then the search will return an empty set.Example: if
IdentifiedObjectFinder.find(IdentifiedObject)is invoked with an object having the
"4326"identifier, then the
find(…)method will invoke
factory.createGeographicCRS("4326")and compare the object from the factory with the object to search. If the objects do not match, then another attempt will be done using the object name. If using name does not work neither, then
find(…)method makes no other attempt and returns an empty set.
VALID_DATASETpublic static final IdentifiedObjectFinder.Domain VALID_DATASETLookup based on valid (non-deprecated) objects known to the factory. First, a fast lookup is performed based on
DECLARATION. If the fast lookup gave no result, then a more extensive search is performed by scanning the content of the dataset.Example: if
IdentifiedObjectFinder.find(IdentifiedObject)is invoked with an object equivalent to the WGS84 geographic CRS but does not declare the
"4326"identifier and does not have the "WGS 84" name, then the search based on
DECLARATIONwill give no result. The
find(…)method will then scan the dataset for geographic CRS using equivalent datum and coordinate system. This may be a costly operation.
ALL_DATASETpublic static final IdentifiedObjectFinder.Domain ALL_DATASETLookup based on all objects (both valid and deprecated) known to the factory. This is the same search than
VALID_DATASETexcept that deprecated objects are included in the search.
valuespublic static IdentifiedObjectFinder.Domain values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns 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.)