public class TLcdGMLModelDescriptor extends TLcdDataModelDescriptor
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.TLcdGML2ModelDescriptor
,
TLcdGML31ModelDescriptor
,
TLcdGML32ModelDescriptor
,
Serialized FormConstructor and Description |
---|
TLcdGMLModelDescriptor(String aSourceName,
String aDisplayName,
TLcdDataModel aDataModel)
Creates a new
TLcdGMLModelDescriptor , initialized with
the specified source name. |
TLcdGMLModelDescriptor(String aSourceName,
TLcdDataModel aDataModel)
Creates a new
TLcdGMLModelDescriptor , initialized with
the specified source name. |
Modifier and Type | Method and Description |
---|---|
String |
getSourceName()
Returns the full name that uniquely identifies the data source.
|
void |
setSourceName(String aSourceName)
Sets the source name for this descriptor
|
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, getModelTypes, isAnnotationPresent, removeAnnotation
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getTypeName
public TLcdGMLModelDescriptor(String aSourceName, TLcdDataModel aDataModel)
TLcdGMLModelDescriptor
, initialized with
the specified source name.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 modelpublic TLcdGMLModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel)
TLcdGMLModelDescriptor
, initialized with
the specified source name.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 modelpublic String getSourceName()
ILcdModelDescriptor
getSourceName
in interface ILcdModelDescriptor
getSourceName
in class TLcdModelDescriptor
public void setSourceName(String aSourceName)
setSourceName
in class TLcdModelDescriptor
aSourceName
- the source name to set