Class TLcdXMLCompositeSchemaTypeMapping
java.lang.Object
com.luciad.format.xml.bind.schema.dataobject.TLcdXMLCompositeSchemaTypeMapping
- All Implemented Interfaces:
ILcdXMLSchemaTypeMapping
Composite
ILcdXMLSchemaTypeMapping
implementation that manages a collection of schema type mappings.- Since:
- 10.0
-
Constructor Summary
ConstructorDescriptionConstructs a new empty composite schema type mapping.Constructs a new composite schema type mapping and adds the schema type mappings of the given data models and all their dependencies to this type mapping. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(TLcdDataModel aDataModel) Adds the schema type mappings of the given data model and all its dependencies to this type mapping.void
add
(ILcdXMLSchemaTypeMapping aSchemaTypeMapping) Adds the given schema type mapping to this composite.getType
(TLcdXMLSchemaTypeIdentifier aTypeId) Returns the data type to which the given XML schema type is mapped.void
remove
(TLcdDataModel aDataModel) Removes the given data model from this composite mapping.void
remove
(ILcdXMLSchemaTypeMapping aSchemaTypeMapping) Removes the given schema type mapping from this composite mapping.
-
Constructor Details
-
TLcdXMLCompositeSchemaTypeMapping
public TLcdXMLCompositeSchemaTypeMapping()Constructs a new empty composite schema type mapping. -
TLcdXMLCompositeSchemaTypeMapping
Constructs a new composite schema type mapping and adds the schema type mappings of the given data models and all their dependencies to this type mapping.- Parameters:
aModels
- the data models to add- Since:
- 2017.1
-
-
Method Details
-
getType
Returns the data type to which the given XML schema type is mapped.- Specified by:
getType
in interfaceILcdXMLSchemaTypeMapping
- Parameters:
aTypeId
- the XML schema type identifier for which to returned the mapped data type- Returns:
- the data type that maps on the given XML schema type
-
add
Adds the schema type mappings of the given data model and all its dependencies to this type mapping.- Parameters:
aDataModel
- the data model to add- See Also:
-
add
Adds the given schema type mapping to this composite.- Parameters:
aSchemaTypeMapping
- the schema type mapping to add
-
remove
Removes the given schema type mapping from this composite mapping.- Parameters:
aSchemaTypeMapping
- the schema type mapping that is to be removed
-
remove
Removes the given data model from this composite mapping.- Parameters:
aDataModel
- the data model to remove
-