Package com.luciad.format.gml2.xml
Class TLcdGML2ModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdDataModelDescriptor
com.luciad.format.gmlcommon.xml.TLcdGMLModelDescriptor
com.luciad.format.gml2.xml.TLcdGML2ModelDescriptor
- All Implemented Interfaces:
ILcdAnnotatedElement
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,ILcdFeaturedDescriptorProvider
,Serializable
public class TLcdGML2ModelDescriptor
extends TLcdGMLModelDescriptor
implements ILcdFeaturedDescriptorProvider
Implementation of
ILcdModelDescriptor
for GML 2.0 data.
In addition to all information provided via the ILcdModelDescriptor
interface, this
descriptor also provides XML related information, such as the schemas that were used for reading
and interpreting the XML data, and a NamespaceContext
.- Since:
- 9.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTLcdGML2ModelDescriptor
(String aSourceName, TLcdDataModel aDataModel) Creates a newcom.luciad.format.gml2.xml.TLcdGML2ModelDescriptor
, initialized with the specified source name.TLcdGML2ModelDescriptor
(String aSourceName, String aDisplayName, TLcdDataModel aDataModel) Creates a newcom.luciad.format.gml2.xml.TLcdGML2ModelDescriptor
, initialized with the specified source name. -
Method Summary
Modifier and TypeMethodDescriptiongetFeaturedDescriptor
(ILcdFeatured aFeatured) Gets aILcdFeaturedDescriptor
that describes theILcdFeatured
passed.Returns a set containing all concrete extensions from AbstractFeatureType.Methods inherited from class com.luciad.format.gmlcommon.xml.TLcdGMLModelDescriptor
getSourceName, setSourceName
Methods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelTypes, isAnnotationPresent, removeAnnotation
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getTypeName
-
Field Details
-
TYPE_NAME
The name for GML 2 format data.- Since:
- 2017.0
- See Also:
-
-
Constructor Details
-
TLcdGML2ModelDescriptor
Creates a newcom.luciad.format.gml2.xml.TLcdGML2ModelDescriptor
, initialized with the specified source name.- Parameters:
aSourceName
- the full name that uniquely identifies the data source from which this descriptor's model was decoded.aDataModel
- the data model that describes the model
-
TLcdGML2ModelDescriptor
Creates a newcom.luciad.format.gml2.xml.TLcdGML2ModelDescriptor
, initialized with the specified source name.- Parameters:
aSourceName
- the full name that uniquely identifies the data source from which this descriptor's model was decoded.aDisplayName
- a displayable name for the model.aDataModel
- the data model that describes the model
-
-
Method Details
-
getFeaturedDescriptor
Description copied from interface:ILcdFeaturedDescriptorProvider
Gets aILcdFeaturedDescriptor
that describes theILcdFeatured
passed.- Specified by:
getFeaturedDescriptor
in interfaceILcdFeaturedDescriptorProvider
- Parameters:
aFeatured
- a featured object to retrieve a featured descriptor for.- Returns:
- a
ILcdFeaturedDescriptor
that describes theILcdFeatured
passed.
-
getModelElementTypes
Returns a set containing all concrete extensions from AbstractFeatureType.- Specified by:
getModelElementTypes
in interfaceILcdDataModelDescriptor
- Overrides:
getModelElementTypes
in classTLcdDataModelDescriptor
- Returns:
- a set containing all concrete extensions from AbstractFeatureType.
-