Skip navigation links
LuciadFusion
2023.1.08

Package com.luciad.format.gmlcommon.transformation

Provides support for transforming domain objects and model to and from GML.

See: Description

Package com.luciad.format.gmlcommon.transformation Description

Provides support for transforming domain objects and model to and from GML.

This package provides support to transform data models from and to GML. The transformation is invertible; this means domain object transformed into GML can be transformed back into instances of their original type. Transformations are available for GML versions 3.2, 3.1 and 2.0. For version 3.2 and 3.1 a transformation in accordance with the GML simple feature profile is also available. The GML transformation is done automatically by the implementation. However, it can be customized by adding appropriate annotations on the source data model.

The main entry class for this package is TLcdGMLTransformer. This class is a specialized TLcdTransformer implementation that can transform data objects from the source data model into GML objects and vice versa. The TLcdGMLTransformer can also output the GML application schema. New instances of TLcdGMLTransformer are created using the TLcdGMLTransformerBuilder.

This package also defines a number of abstract annotation classes (such as e.g. ALcdGMLNameAnnotation). There is a concrete subclass of each of these annotation classes for each GML version (such as e.g. TLcdGML32NameAnnotation, TLcdGML31NameAnnotation, etc.). These annotation classes can be added to the source data model to customize the GML transformation.

TLcdGMLApplicationModelEncoder uses the TLcdGMLTransformer to encode an entire ILcdModel as a GML document. Its counterpart, the TLcdGMLApplicationModelDecoder, can decode these GML documents back into the original source model.

Since:
11.0
Skip navigation links
LuciadFusion
2023.1.08