Package com.luciad.format.xml.bind.schema.dataobject
Provides an extension on the XML Binding framework in com.luciad.format.xml.bind
and
com.luciad.format.xml.bind.schema
that adds support for automatic binding of XML data to
a generic domain model, accessible via the ILcdDataObject
interface.
TLcdXMLDataModelBuilder
enables the creation
of a TLcdDataModel
based on an XML schema. The types in this data model
are direct mappings from the types declared in the XML schema. A TLcdXMLSchemaBasedDecoder
/
TLcdXMLSchemaBasedEncoder
configured with such a data model can decode /
encode
XML document for that schema. The LuciadLightspeed developer's guide contains a section that provides detailed
explanation on how to use this class and how this class can be extended to customize the default
mapping.
This package also defines a number of annotations that extend the data model with XML-specific information.
TLcdXMLSchemaMappingAnnotation
provides the appropriate libraries to configure an encoder and decoder.TLcdXMLSchemaTypeMappingAnnotation
provides additional information about the schema such as its namespace and location and which data type represents a certain XML schema type.TLcdXMLSchemaChoiceAnnotation
provides additional information for properties that represent anxsd:choice
.TLcdXMLSchemaUnionAnnotation
provides additional information for types that represent anxsd:union
.
- Since:
- 10.0
-
ClassDescriptionInterface that maps XML schema types on
TLcdDataType
instances.CompositeILcdXMLSchemaTypeMapping
implementation that manages a collection of schema type mappings.Class that buildsTLcdDataModel
s based on XML schemas.Implementation ofILcdXMLSchemaBasedDecoderLibrary
that provides support for unmarshalling XML data toILcdDataObject
instances for a given data model.Implementation ofILcdXMLSchemaBasedEncoderLibrary
that provides support for marshallingILcdDataObject
instances to XML data for a given data model.Implementation ofILcdXMLSchemaBasedMappingLibrary
providing support for mapping XML data onILcdDataObject
instances for a certain data model.Enables automatic support for decoding documents containing XML schemas for which the decoder is not configured.This annotation is applied onTLcdDataProperty
instances to indicate that they are the result of mapping a xsd:choice property.This class provides information about a choice property.ILcdAnnotation
that allows aTLcdDataModel
to be annotated with aILcdXMLSchemaBasedMappingLibrary
,ILcdXMLSchemaBasedDecoderLibrary
andILcdXMLSchemaBasedEncoderLibrary
.ILcdAnnotation
that allows schema-specific information to be attached to aTLcdDataModel
.This annotation is applied onTLcdDataType
instances to indicate that they are the result of mapping a xsd:union type.