Class LegacyFeatureType

java.lang.Object
org.apache.sis.metadata.iso.maintenance.LegacyFeatureType
All Implemented Interfaces:
CharSequence, org.opengis.feature.type.AttributeType, org.opengis.feature.type.FeatureType

@Deprecated public final class LegacyFeatureType extends Object implements org.opengis.feature.type.FeatureType, org.opengis.feature.type.AttributeType, CharSequence
Deprecated.
To be removed after migration to GeoAPI 4.0.
Bridges between deprecated FeatureType / AttributeType and CharSequence. FeatureType and AttributeType were used in ISO 19115:2003, but have been replaced by CharSequence in ISO 19115:2014. The corresponding GeoAPI 3.0 interfaces are empty since they were placeholder for future work. We use this LegacyFeatureType as a temporary bridge, to be removed with GeoAPI 4.0.
Since:
1.0
Version:
1.0
  • Field Details

    • ADAPTER

      static final CharSequenceAdapter ADAPTER
      Deprecated.
      The adapter doing most of the actual work of converting FeatureType or AttributeType to <gco:CharacterSequence> elements.
    • value

      private final CharSequence value
      Deprecated.
      The value to wrap as a FeatureType or AttributeType.
  • Constructor Details

    • LegacyFeatureType

      public LegacyFeatureType(CharSequence value)
      Deprecated.
      Creates a new type for the given value, which must be non-null.
      Parameters:
      value - the text to wrap in a legacy feature type.
  • Method Details