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 TLcdDataTypegetDataType(ILcdXMLDocumentContext aXMLDocumentContext) Retrieve theTLcdDataTypeof the domain objects from a contextstatic ILcdModelgetModel(ILcdXMLDocumentContext aXMLDocumentContext) Retrieve the model from a contextstatic ILcdModelReferencegetModelReference(Map aXMLDocumentContext) Retrieve the model reference from a contextstatic StringnextGmlId(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
ILcdModelReferencecontained in the context
-
getModel
Retrieve the model from a context- Parameters:
aXMLDocumentContext- the XML document context- Returns:
- the
ILcdModelcontained 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 theTLcdDataTypeof the domain objects from a context- Parameters:
aXMLDocumentContext- the XML document context- Returns:
- the
TLcdDataTypecontained in the context
-