Class TLcyDrawingXMLUtil
java.lang.Object
com.luciad.lucy.addons.drawing.format.xml.TLcyDrawingXMLUtil
This class groups a number of methods to extract information from
the context during xml marshalling and unmarshalling.
- Since:
- 8.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdDataType
getDataType
(ILcdXMLDocumentContext aXMLDocumentContext) Retrieve theTLcdDataType
of the domain objects from a contextstatic ILcdModel
getModel
(ILcdXMLDocumentContext aXMLDocumentContext) Retrieve the model from a contextstatic ILcdModelReference
getModelReference
(Map aXMLDocumentContext) Retrieve the model reference from a contextstatic String
nextGmlId
(ILcdXMLDocumentContext aXMLDocumentContext) Returns a new id, unique in this context, that can be used where gml expects unique ids.
-
Method Details
-
getModelReference
Retrieve the model reference from a context- Parameters:
aXMLDocumentContext
- the XML document context- Returns:
- the
ILcdModelReference
contained in the context
-
getModel
Retrieve the model from a context- Parameters:
aXMLDocumentContext
- the XML document context- Returns:
- the
ILcdModel
contained in the context
-
nextGmlId
Returns a new id, unique in this context, that can be used where gml expects unique ids.- Parameters:
aXMLDocumentContext
- the XML document context for which an ID is requested- Returns:
- A new id, unique in this context, that can be used where gml expects unique ids. A typical example is the id attribute of geometry elements.
-
getDataType
Retrieve theTLcdDataType
of the domain objects from a context- Parameters:
aXMLDocumentContext
- the XML document context- Returns:
- the
TLcdDataType
contained in the context
-