Package org.apache.sis.internal.jaxb.gco
package org.apache.sis.internal.jaxb.gco
Miscellaneous objects and adapters defined in the
"gco"
namespace.
For example, a String
value has to be marshalled this way:
In the above example, gco
is the prefix for the http://www.isotc211.org/2005/gco
namespace URL.
This package includes:
- JAXB adapters for primitive types.
JAXB can write directly Java primitive type at marshalling time "as is". However, ISO 19115-3 requires those values to be wrapped by elements representing the data type. A role of these adapters is to add these elements around the value. - JAXB adapters for unit of measure as specified in the ISO 19103 specifications.
For example, a measure marshalled with JAXB will be formatted like<gco:Measure uom="m">220.0</gco:Measure>
. - JAXB adapters for date and time.
"GO_Decimal"
, are also wrappers around the actual
object to be marshalled. See the org.apache.sis.internal.jaxb.metadata
package for more
explanation about wrappers. Note that the two-letters prefixes used in this package (not to be
confused with the three-letters prefixes used in XML documents) are not defined by OGC/ISO
specifications; they are used only for consistency with current practice in
org.apache.sis.internal.jaxb.metadata
and similar packages.
Object identification and reference
org.apache.sis.metadata.iso
public packages:- Implement the ISO 19115-3
Foo_Type
, where Foo is the ISO name of a class. - Contains the
gco:ObjectIdentification
group of attributes (id
,uuid
). - Conceptually could have been subclasses of
ObjectIdentification
defined in this package.
- Implement the ISO 19115-3
org.apache.sis.internal.jaxb
private packages:- Implement the ISO 19115-3
Foo_PropertyType
as subclasses of thePropertyType
class. - Contains the
gco:ObjectReference
group of attributes (xlink
,uuidref
). - Attributes are declared in the
ObjectReference
Java class.
- Implement the ISO 19115-3
Those two kinds of types are marshalled as below:
- Since:
- 0.3
- Version:
- 1.3
- See Also:
-
ClassesClassDescriptionJAXB adapter wrapping the string value in a
<gco:CharacterString>
element, for ISO 19115-3 compliance.Wraps the value only if marshalling ISO 19115-3 element.Surrounds boolean value by<gco:Boolean>
.JAXB wrapper for string value in a<gco:CharacterString>
,<gcx:Anchor>
,<gcx:FileName>
or<gcx:MimeFileType>
element, for ISO 19115-3 compliance.JAXB adapter wrapping the date value in a<gco:Date>
or<gco:DateTime>
element, for ISO 19115-3 compliance.Wraps the value only if marshalling ISO 19115-3 element.Surrounds double values by<gco:Decimal>
.The ISO 19103Distance
with aunit of measure
defined, using thegco
namespace linked to thehttp://www.isotc211.org/2005/gco
URL.JAXB wrapper in order to map implementing class with the GeoAPI interface.Wraps the value only if marshalling ISO 19115-3 element.Wraps an integer value in an<gco:Integer>
element.Wraps the value only if marshalling ISO 19115-3 element.Wraps a long value in an<gco:Integer>
element.The ISO 19103Measure
with a unit of measure defined in thegco
namespace associated to thehttp://www.isotc211.org/2005/gco
URL.Adapter for a component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.Wraps double values in<gco:Real>
element.Wraps the value only if marshalling ISO 19115-3 element.JAXB wrapper in order to map implementing class with the GeoAPI interface.Wraps the value only if marshalling ISO 19115-3 element.JAXB wrapper in order to map implementing class with the GeoAPI interface.Wraps the value only if marshalling ISO 19115-3 element.JAXB adapter wrapping the date value in a<gco:Date>
or<gco:DateTime>
element, for ISO 19115-3 compliance.Wraps the value only if marshalling ISO 19115-3 element.Wraps an "unlimited" integer value in an<gco:UnlimitedInteger>
element.JAXB wrapper for an URI in a<gmd:URL>
element, for ISO 19139:2007 compliance.JAXB adapter for XML<GO_CharacterString>
element mapped toInternationalString
.Wraps the value only if marshalling ISO 19115-3 element.JAXB adapter for string values mapped toInternationalString
.The possible cardinality of a relation.A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.A generalized type to be used for a term, keyword or name.TheNameValue
as agco:LocalName
.TheNameValue
as agco:ScopedName
.Thegco:ObjectReference
XML attribute group is included by all metadata wrappers defined in theorg.apache.sis.internal.jaxb.metadata
package.Base class for adapters from GeoAPI interfaces to their SIS implementations.JAXB adapter for XML<GO_CharacterString>
element mapped toString
.Wraps the value only if marshalling ISO 19115-3 element.JAXB adapter for unit of measurement.A variant ofUnitAdapter
which marshal units as a URN for Coordinate System (CS) axes.Wraps the value only if marshalling ISO 19115-3 element.The<gco:UnlimitedInteger>
value, used forMultiplicityRange
implementation.JAXB adapter wrapping a URI value with a<gcx:FileName>
element.Replace<gcx:FileName>
by<gmd:URL>
if marshalling legacy ISO 19139:2007 document.