|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The type of object used as identifier values.public interface IdentifierSpace<T>
Some identifier namespaces that are handled in a special way. The identifier namespaces are
usually defined as authorities in the Citations
class. However a few identifiers defined in the gco:ObjectIdentification XML attribute
group are handled in a special way. For example identifiers associated to the HREF
space are marshalled in the outer property element, as in the example below:
<gmd:CI_Citation>
<gmd:series xlink:href="http://myReference">
<gmd:CI_Series>
<gmd:name>...</gmd:name>
</gmd:CI_Series>
</gmd:series>
</gmd:CI_Citation>
The values defined in this interface can be used as keys in the map returned by
IdentifiedObject.getIdentifierMap().
Citations,
IdentifiedObject,
IdentifierMap
| utility/geotk-xml-base (download) | View source code for this class |
| Field Summary | |
|---|---|
static IdentifierSpace<URI> |
HREF
An optional attribute for URN to an external resources, or to an other part of a XML document, or an identifier. |
static IdentifierSpace<String> |
ID
A standard GML attribute available on every object-with-identity. |
static IdentifierSpace<UUID> |
UUID
An optional attribute available on every object-with-identity provided in the GMD schemas that implement ISO 19115 in XML. |
static IdentifierSpace<XLink> |
XLINK
Any XML attributes defined by OGC in the xlink schema. |
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this identifier space. |
| Methods inherited from interface Citation |
|---|
getAlternateTitles, getCitedResponsibleParties, getCollectiveTitle, getDates, getEdition, getEditionDate, getIdentifiers, getISBN, getISSN, getOtherCitationDetails, getPresentationForms, getSeries, getTitle |
| Field Detail |
|---|
static final IdentifierSpace<String> ID
"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".
XmlIDstatic final IdentifierSpace<UUID> UUID
The XML attribute name is "gco:uuid".
UUIDstatic final IdentifierSpace<URI> HREF
XLINK identifier space, but is provided as a special constant because
href is the most frequently used xlink attribute.
The XML attribute name is "xlink:href".
XLink.getHRef()static final IdentifierSpace<XLink> XLINK
HREF identifier space is a special case of this
xlink identifier space.
XLink| Method Detail |
|---|
String getName()
For the constants defined in this IdentifierSpace interface, 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 Citations
class, this is the identifier namespace. They usually not XML attribute name because those
identifiers marshalled as <MD_Identifier> XML elements rather than attributes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||