Package com.luciad.format.gmlcommon.xml
Class TLcdGMLModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdDataModelDescriptor
com.luciad.format.gmlcommon.xml.TLcdGMLModelDescriptor
- All Implemented Interfaces:
ILcdAnnotatedElement,ILcdDataModelDescriptor,ILcdModelDescriptor,Serializable
- Direct Known Subclasses:
TLcdGML2ModelDescriptor,TLcdGML31ModelDescriptor,TLcdGML32ModelDescriptor
Implementation of
ILcdModelDescriptor for GML data.
This model descriptor implements ILcdAnnotatedElement.
This enables it to store additional format-specific information,
such as the locations of the schemas that were used for reading
and interpreting the XML data and a NamespaceContext.
Specific GML versions may extend this class and provide more detailed/additional
information.- Since:
- 9.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdGMLModelDescriptor(String aSourceName, TLcdDataModel aDataModel) Creates a newTLcdGMLModelDescriptor, initialized with the specified source name.TLcdGMLModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel) Creates a newTLcdGMLModelDescriptor, initialized with the specified source name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the full name that uniquely identifies the data source.voidsetSourceName(String aSourceName) Sets the source name for this descriptorMethods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, getModelTypes, isAnnotationPresent, removeAnnotationMethods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getTypeName
-
Constructor Details
-
TLcdGMLModelDescriptor
Creates a newTLcdGMLModelDescriptor, 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 models that describe this model
-
TLcdGMLModelDescriptor
Creates a newTLcdGMLModelDescriptor, 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 this model
-
-
Method Details
-
getSourceName
Description copied from interface:ILcdModelDescriptorReturns the full name that uniquely identifies the data source. This can be the full file name for a file source, or the table name for a database source, for instance.- Specified by:
getSourceNamein interfaceILcdModelDescriptor- Overrides:
getSourceNamein classTLcdModelDescriptor- Returns:
- the full name of the data source.
-
setSourceName
Sets the source name for this descriptor- Overrides:
setSourceNamein classTLcdModelDescriptor- Parameters:
aSourceName- the source name to set
-