The main class in this package is
XML, which provides
property keys that can be used for configuring (un)marshallers and convenience
static methods. For example the following code:
will produce a string like below:XML.marshal(Citations.OGC, System.out);
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cit:CI_Citation xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco"> <cit:title> <gco:CharacterString>Open Geospatial Consortium</gco:CharacterString> </cit:title> ... much more XML below this point ... </cit:CI_Citation>
Unmarshallerinstances (which are actually wrappers around standard instances). Those instances are created and cached by
MarshallerPool, which is used internally by the above-cited
XMLclass. However developers can instantiate their own
MarshallerPoolin order to get more control on the marshalling and unmarshalling processes, including the namespace URLs and the errors handling.
The most common namespace URLs are defined in the
The parsing of some objects like
together with the behavior in case of parsing error, can be specified by the
Defined in the
Interface Summary Interface Description IdentifiedObjectThe interface for all SIS objects having identifiers. IdentifierMapA map view of some or all identifiers in an identified object. IdentifierSpace<T>Some identifier namespaces that are handled in a special way. NilObjectA marker interface for nil XML elements providing an explanation about why the information is absent.
Class Summary Class Description MarshalContextContext of a marshalling or unmarshalling process. MarshallerPool NamespacesLists some namespaces URLs used by JAXB when (un)marshalling. NilReasonExplanation for a missing XML element. ReferenceResolverControls the (un)marshaller behavior regarding the
ValueConverterPerforms conversions of XML element or attribute values encountered during XML (un)marshalling. XLinkThe XML attributes defined by OGC in the xlink schema. XMLProvides convenience methods for marshalling and unmarshalling SIS objects.
Enum Summary Enum Description XLink.ActuateCommunicates the desired timing of traversal from the starting resource to the ending resource. XLink.ShowCommunicates the desired presentation of the ending resource on traversal from the starting resource. XLink.TypeThe type of a