Interface IdentifierSpace<T>
- Type Parameters:
T- the type of object used as identifier values.
- All Superinterfaces:
Citation
Citations
class. However, a few identifiers defined in the gco:ObjectIdentification XML attribute
group are handled in a special way. For example, identifiers associated with the HREF
space are marshalled in the outer property element, as in the example below:
<cit:CI_Citation>
<cit:series xlink:href="http://myReference">
<cit:CI_Series>
<cit:name>...</cit:name>
</cit:CI_Series>
</cit:series>
</cit:CI_Citation>
IdentifiedObject.getIdentifierMap().- Since:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdentifierSpace<URI> An optional attribute for URN to an external resources, or to another part of a XML document, or an identifier.static final IdentifierSpace<String> A standard GML attribute available on every object-with-identity.static final IdentifierSpace<UUID> An optional attribute available on every object-with-identity provided in the GMD schemas that implement ISO 19115 in XML.static final IdentifierSpace<XLink> Any XML attributes defined by OGC in the xlink schema. -
Method Summary
Methods inherited from interface Citation
getAlternateTitles, getCitedResponsibleParties, getCollectiveTitle, getDates, getEdition, getEditionDate, getIdentifiers, getISBN, getISSN, getOtherCitationDetails, getPresentationForms, getSeries, getTitleModifier and TypeMethodDescriptionCollection<? extends InternationalString> Short name or other language name by which the cited information is known.Collection<? extends ResponsibleParty> Name and position information for an individual or organization that is responsible for the resource.Common title with holdings note.Collection<? extends CitationDate> Reference date for the cited resource.Version of the cited resource.Date of the edition, ornullif none.Collection<? extends Identifier> Unique identifier for the resource.getISBN()International Standard Book Number, ornullif none.getISSN()International Standard Serial Number, ornullif none.Other information required to complete the citation that is not recorded elsewhere.Mode in which the resource is represented, or an empty string if none.Information about the series, or aggregate dataset, of which the dataset is a part.Name by which the cited resource is known.
-
Field Details
-
ID
A standard GML attribute available on every object-with-identity. Its type is"xs:ID"- i.e. it is a fragment identifier, unique within document scope only, for internal cross-references. It is not useful by itself as a persistent unique identifier.The XML attribute name is
"gml:id", but is also used for"gco:id"in metadata documents. However, the"gco:"prefix is omitted in XML documents (i.e. thegco:idattribute is unqualified).Elements with
gml:idorgco:idattribute can be referenced from other XML elements using thexlink:hrefattribute. This is done automatically by Apache SIS implementations at marshalling and unmarshalling time. If many ofgml:id,gco:uuidandxlink:hrefattributes are used, thengml:idhas precedence.- See Also:
-
UUID
An optional attribute available on every object-with-identity provided in the GMD schemas that implement ISO 19115 in XML. May be used as a persistent unique identifier, but only available within GMD context.The XML attribute name is
"gco:uuid". However, the"gco:"prefix is omitted in XML documents (i.e. thegco:uuidattribute is unqualified).Elements with
gco:uuidattribute can be referenced from other XML elements using thegco:uuidrefattribute. However, this is not done automatically by Apache SIS. Users need to manage their set of UUIDs in their ownReferenceResolversubclass.- See Also:
-
HREF
An optional attribute for URN to an external resources, or to another part of a XML document, or an identifier. This is one of the many attributes available in theXLINKidentifier space, but is provided as a special constant becausehrefis the most frequently usedxlinkattribute.The XML attribute name is
"xlink:href".- See Also:
-
XLINK
-
-
Method Details
-
getName
String getName()Returns the name of this identifier space.- For the constants defined in this
IdentifierSpaceinterface, this is the XML attribute name with its prefix. Attribute names can be"gml:id","gco:uuid"or"xlink:href". - For the constants defined in the
Citationsclass, this is the identifier namespace. They are usually not XML attribute name because those identifiers are marshalled as<MD_Identifier>XML elements rather than attributes.
- Returns:
- the name of this identifier space (may be XML attribute name).
- For the constants defined in this
-