Class LegacyFeatureType
Object
LegacyFeatureType
- All Implemented Interfaces:
- CharSequence,- AttributeType,- FeatureType
@Deprecated
public final class LegacyFeatureType
extends Object
implements FeatureType, 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
Defined in the sis-metadata module
- 
Constructor SummaryConstructorsConstructorDescriptionLegacyFeatureType(CharSequence value) Deprecated.Creates a new type for the given value, which must be non-null.
- 
Method SummaryModifier and TypeMethodDescriptioncharcharAt(int index) Deprecated.booleanDeprecated.intDeprecated.intlength()Deprecated.Delegates to the value given at construction time.subSequence(int start, int end) Deprecated.Deprecated.Methods inherited from class Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface CharSequencechars, codePoints, isEmpty
- 
Constructor Details- 
LegacyFeatureTypeDeprecated.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- 
lengthpublic int length()Deprecated.Delegates to the value given at construction time.- Specified by:
- lengthin interface- CharSequence
 
- 
charAtpublic char charAt(int index) Deprecated.- Specified by:
- charAtin interface- CharSequence
 
- 
subSequenceDeprecated.- Specified by:
- subSequencein interface- CharSequence
 
- 
toStringDeprecated.- Specified by:
- toStringin interface- CharSequence
- Overrides:
- toStringin class- Object
 
- 
hashCodepublic int hashCode()Deprecated.
- 
equalsDeprecated.
 
-