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.
TLcdXMLSchemaMappingAnnotationprovides the appropriate libraries to configure an encoder and decoder.TLcdXMLSchemaTypeMappingAnnotationprovides additional information about the schema such as its namespace and location and which data type represents a certain XML schema type.TLcdXMLSchemaChoiceAnnotationprovides additional information for properties that represent anxsd:choice.TLcdXMLSchemaUnionAnnotationprovides additional information for types that represent anxsd:union.
- Since:
- 10.0
-
ClassDescriptionInterface that maps XML schema types on
TLcdDataTypeinstances.CompositeILcdXMLSchemaTypeMappingimplementation that manages a collection of schema type mappings.Class that buildsTLcdDataModels based on XML schemas.Implementation ofILcdXMLSchemaBasedDecoderLibrarythat provides support for unmarshalling XML data toILcdDataObjectinstances for a given data model.Implementation ofILcdXMLSchemaBasedEncoderLibrarythat provides support for marshallingILcdDataObjectinstances to XML data for a given data model.Implementation ofILcdXMLSchemaBasedMappingLibraryproviding support for mapping XML data onILcdDataObjectinstances 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 onTLcdDataPropertyinstances to indicate that they are the result of mapping a xsd:choice property.This class provides information about a choice property.ILcdAnnotationthat allows aTLcdDataModelto be annotated with aILcdXMLSchemaBasedMappingLibrary,ILcdXMLSchemaBasedDecoderLibraryandILcdXMLSchemaBasedEncoderLibrary.ILcdAnnotationthat allows schema-specific information to be attached to aTLcdDataModel.This annotation is applied onTLcdDataTypeinstances to indicate that they are the result of mapping a xsd:union type.