Package org.apache.sis.internal.simple
Class SimpleFormat
java.lang.Object
org.apache.sis.internal.simple.SimpleCitation
org.apache.sis.internal.simple.SimpleFormat
- All Implemented Interfaces:
Serializable
,org.opengis.metadata.citation.Citation
,org.opengis.metadata.distribution.Format
public class SimpleFormat
extends SimpleCitation
implements org.opengis.metadata.distribution.Format
A trivial implementation of
Format
containing only the format name.- Since:
- 0.8
- Version:
- 0.8
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.internal.simple.SimpleCitation
title
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleFormat
(String name) Creates a new format of the given short name or abbreviation. -
Method Summary
Modifier and TypeMethodDescriptionCollection
<org.opengis.util.InternationalString> Returns the format name given at construction time.org.opengis.util.InternationalString
Amendment number of the format version.org.opengis.util.InternationalString
Recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.Collection
<? extends org.opengis.metadata.distribution.Distributor> Provides information about the distributor's format.org.opengis.util.InternationalString
getName()
Deprecated.org.opengis.util.InternationalString
Deprecated.Replaced bygetTitle()
org.opengis.util.InternationalString
getTitle()
Returns the format specification title, which isnull
by default.org.opengis.util.InternationalString
Deprecated.Replaced bySimpleCitation.getEdition()
toString()
Returns a string representation of this format for debugging purpose.Methods inherited from class org.apache.sis.internal.simple.SimpleCitation
equals, getCitedResponsibleParties, getCollectiveTitle, getDates, getEdition, getEditionDate, getIdentifiers, getISBN, getISSN, getOtherCitationDetails, getPresentationForms, getSeries, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
SimpleFormat
Creates a new format of the given short name or abbreviation.- Parameters:
name
- a short name or abbreviation for the format.
-
-
Method Details
-
getTitle
public org.opengis.util.InternationalString getTitle()Returns the format specification title, which isnull
by default.- Specified by:
getTitle
in interfaceorg.opengis.metadata.citation.Citation
- Overrides:
getTitle
in classSimpleCitation
- Returns:
- the format specification.
-
getAlternateTitles
Returns the format name given at construction time.- Specified by:
getAlternateTitles
in interfaceorg.opengis.metadata.citation.Citation
- Overrides:
getAlternateTitles
in classSimpleCitation
- Returns:
- the name given at construction time.
-
getSpecification
Deprecated.Replaced bygetTitle()
- Specified by:
getSpecification
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- name of a subset, profile, or product specification of the format, or
null
.
-
getName
Deprecated.Replaced bygetAlternateTitles()
- Specified by:
getName
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- name of the data transfer format(s).
-
getVersion
Deprecated.Replaced bySimpleCitation.getEdition()
- Specified by:
getVersion
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- version of the format.
-
getAmendmentNumber
public org.opengis.util.InternationalString getAmendmentNumber()Amendment number of the format version.- Specified by:
getAmendmentNumber
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- amendment number of the format version, or
null
.
-
getFileDecompressionTechnique
public org.opengis.util.InternationalString getFileDecompressionTechnique()Recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.- Specified by:
getFileDecompressionTechnique
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- processes that can be applied to read resources to which compression techniques have been applied,
or
null
.
-
getFormatDistributors
Provides information about the distributor's format.- Specified by:
getFormatDistributors
in interfaceorg.opengis.metadata.distribution.Format
- Returns:
- information about the distributor's format.
-
toString
Returns a string representation of this format for debugging purpose.- Overrides:
toString
in classSimpleCitation
-
getAlternateTitles()