public final class FrenchProfile extends Static
Defined in the sis-french-profile
module
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE
The
"http://www.cnig.gouv.fr/2005/fra" URL. |
Modifier and Type | Method and Description |
---|---|
static Object |
toAFNOR(Object metadata)
Returns the given metadata object as an AFNOR-compliant instance.
|
static ReferenceSystem |
toAFNOR(ReferenceSystem rs,
boolean indirect)
Returns the given given reference system as an AFNOR-compliant instance.
|
public static final String NAMESPACE
"http://www.cnig.gouv.fr/2005/fra"
URL.
The usual prefix for this namespace is "fra"
.Namespaces
,
Constant Field Valuespublic static Object toAFNOR(Object metadata)
GeoAPI type | AFNOR XML element |
---|---|
DataIdentification | FRA_DataIdentification |
Constraints | FRA_Constraints |
LegalConstraints | FRA_LegalConstraints |
SecurityConstraints | FRA_SecurityConstraints |
ReferenceSystem
type,
because AFNOR requires to specify whether the system is direct or indirect.
For reference system types, use toAFNOR(ReferenceSystem, boolean)
instead.metadata
- the metadata to make AFNOR-compliant, or null
.metadata
if the metadata
was null
, does not have an AFNOR type, or was already of the appropriate type.public static ReferenceSystem toAFNOR(ReferenceSystem rs, boolean indirect)
Direct:
<complexType name="FRA_DirectReferenceSystem_Type"> <complexContent> <extension base="{http://www.isotc211.org/2005/gmd}MD_ReferenceSystem_Type"/> </complexContent> </complexType>
Indirect:
<complexType name="FRA_IndirectReferenceSystem_Type"> <complexContent> <extension base="{http://www.isotc211.org/2005/gmd}MD_ReferenceSystem_Type"/> </complexContent> </complexType>
rs
- the reference system to make AFNOR-compliant, or null
.indirect
- false
for FRA_DirectReferenceSystem
, or
true
for FRA_IndirectReferenceSystem
.rs
if the given reference system was null
or already of the appropriate type.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.