Class Wrapper
- All Implemented Interfaces:
org.opengis.metadata.Identifier, org.opengis.referencing.ReferenceIdentifier
- Direct Known Subclasses:
AbstractCRS, AuthorityFactoryWrapper, Axis, DatumWrapper, EllipsoidWrapper, IdentifierEPSG, OperationFactoryWrapper, OperationMethodWrapper, ParameterAccessor, ParameterWrapper, PositionWrapper, PrimeMeridianWrapper, TransformWrapper
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final intThe default number of dimensions of the CRS.(package private) static final intThe number of dimensions when a non-NaN z coordinate value is provided.Fields inherited from interface org.opengis.metadata.Identifier
AUTHORITY_KEY, CODE_KEYFields inherited from interface org.opengis.referencing.ReferenceIdentifier
CODESPACE_KEY, VERSION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanCompares this wrapper with the given object for equality.Collection<org.opengis.util.GenericName> getAlias()Returns other names of this object.org.opengis.metadata.citation.CitationReturns the authority that defines this object.abstract StringgetCode()Returns the primary object name.Returns a short name of the authority used as a code space.org.opengis.metadata.extent.ExtentReturns the domain of validity of this object.Set<org.opengis.referencing.ReferenceIdentifier> Returns all identifiers (usually EPSG codes) of this object.final org.opengis.referencing.ReferenceIdentifiergetName()Returns the primary object name.org.opengis.util.InternationalStringReturns optional remarks about this object.org.opengis.util.InternationalStringgetScope()Returns the scope of usage of this object.Returns the version of the defined object.final inthashCode()Returns a hash code value for this wrapper.(package private) abstract ObjectReturns the wrapped implementation.toString()Returns the string representation of the wrapped PROJ4J object.toWKT()Returns a WKT representation of this object.
-
Field Details
-
BIDIMENSIONAL
static final int BIDIMENSIONALThe default number of dimensions of the CRS.- See Also:
-
TRIDIMENSIONAL
static final int TRIDIMENSIONALThe number of dimensions when a non-NaN z coordinate value is provided.- See Also:
-
-
Constructor Details
-
Wrapper
Wrapper()Creates a new wrapper.
-
-
Method Details
-
implementation
Returns the wrapped implementation..- Returns:
- the wrapped implementation
-
getAuthority
public org.opengis.metadata.citation.Citation getAuthority()Returns the authority that defines this object.. The default implementation assumes that there is none.- Specified by:
getAuthorityin interfaceorg.opengis.metadata.Identifier- Returns:
- the authority that defines this object
-
getCodeSpace
Returns a short name of the authority used as a code space.. The default implementation returns "PROJ4J" on the assumption that the names are specific to PROJ4J. This is not completely true since those names are often derived from EPSG, but we don't really have a guarantee that they are exact or that PROJ4J didn't added their own definitions.- Specified by:
getCodeSpacein interfaceorg.opengis.referencing.ReferenceIdentifier- Returns:
- a short name of the authority used as a code space
-
getVersion
Returns the version of the defined object.. The default implementation assumes that there is none.- Specified by:
getVersionin interfaceorg.opengis.referencing.ReferenceIdentifier- Returns:
- the version of the defined object
-
getCode
Returns the primary object name.. In the EPSG database, this is usually the long name.- Specified by:
getCodein interfaceorg.opengis.metadata.Identifier- Returns:
- the primary object name
-
getName
public final org.opengis.referencing.ReferenceIdentifier getName()Returns the primary object name.. This method returnsthis, with the expectation that users will follow withgetCode(). Subclasses shall return the actual object name ingetCode().This is a method declared in the
IdentifiedObjectinterface. It is implemented in this base class for the convenience of subclasses that indirectly implementIdentifiedObject.- Returns:
- the primary object name
-
getAlias
Returns other names of this object.. In the EPSG database, this is usually the short name. The default implementation assumes that there is none.This is a method declared in the
IdentifiedObjectinterface. It is implemented in this base class for the convenience of subclasses that indirectly implementIdentifiedObject.- Returns:
- other names of this object
-
getIdentifiers
Returns all identifiers (usually EPSG codes) of this object.. The default implementation assumes that there is none.This is a method declared in the
IdentifiedObjectinterface. It is implemented in this base class for the convenience of subclasses that indirectly implementIdentifiedObject.- Returns:
- all identifiers (usually EPSG codes) of this object
-
getScope
public org.opengis.util.InternationalString getScope()Returns the scope of usage of this object.. If unknown, ISO 19111 requires that we return "not known".This method is not declared directly in the
IdentifiedObjectinterface, but appears in datum and coordinate operation sub-interfaces.- Returns:
- the scope of usage of this object
-
getDomainOfValidity
public org.opengis.metadata.extent.Extent getDomainOfValidity()Returns the domain of validity of this object.. The default implementation assumes that there is none.This method is not declared directly in the
IdentifiedObjectinterface, but appears in datum and coordinate operation sub-interfaces.- Returns:
- the domain of validity of this object
-
getRemarks
public org.opengis.util.InternationalString getRemarks()Returns optional remarks about this object.. The default implementation assumes that there is none.This is a method declared in the
IdentifiedObjectinterface. It is implemented in this base class for the convenience of subclasses that indirectly implementIdentifiedObject.- Returns:
- optional remarks about this object
-
toWKT
Returns a WKT representation of this object.. The default implementation assumes that there is none.This is a method declared in the
IdentifiedObjectinterface. It is implemented in this base class for the convenience of subclasses that indirectly implementIdentifiedObject.- Returns:
- a WKT representation of this object
- Throws:
UnsupportedOperationException
-
toString
-
hashCode
-
equals
-