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.isopublic packages:- Implement the ISO 19115-3
Foo_Type, where Foo is the ISO name of a class. - Contains the
gco:ObjectIdentificationgroup of attributes (id,uuid). - Conceptually could have been subclasses of
ObjectIdentificationdefined in this package.
- Implement the ISO 19115-3
org.apache.sis.internal.jaxbprivate packages:- Implement the ISO 19115-3
Foo_PropertyTypeas subclasses of thePropertyTypeclass. - Contains the
gco:ObjectReferencegroup of attributes (xlink,uuidref). - Attributes are declared in the
ObjectReferenceJava 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 19103Distancewith aunit of measuredefined, using thegconamespace linked to thehttp://www.isotc211.org/2005/gcoURL.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 19103Measurewith a unit of measure defined in thegconamespace associated to thehttp://www.isotc211.org/2005/gcoURL.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.TheNameValueas agco:LocalName.TheNameValueas agco:ScopedName.Thegco:ObjectReferenceXML attribute group is included by all metadata wrappers defined in theorg.apache.sis.internal.jaxb.metadatapackage.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 ofUnitAdapterwhich 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 forMultiplicityRangeimplementation.JAXB adapter wrapping a URI value with a<gcx:FileName>element.Replace<gcx:FileName>by<gmd:URL>if marshalling legacy ISO 19139:2007 document.