com.kuka.roboticsAPI.persistenceModel
Interface IXmlApplicationDataConverter


public interface IXmlApplicationDataConverter

Interface for xml application data source converters.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Method Summary
 boolean canConvert(int version)
          Gets a flag if the given version is supported by the implementation of this converter.
 Map<String,com.kuka.roboticsAPI.persistenceModel.PersistentFrame> convertFrames(Map<String,com.kuka.roboticsAPI.persistenceModel.PersistentFrame> frames)
          Converts the given frames to the target version format.
 ObjectTemplate convertObjectTemplates(ObjectTemplate objectTemplateData)
           
 ProcessDataContainer convertProcessDataContainer(ProcessDataContainer processDataContainer)
           
 Map<String,TemplateElement> convertTemplateElements(Map<String,TemplateElement> templateElements)
          Converts the given template elements to the target version format.
 Map<String,ToolData> convertTools(Map<String,ToolData> tools)
          Converts the given tools to the target version format.
 Map<String,UserData> convertUserData(Map<String,UserData> userDatas)
          Converts the given user data to the target version format.
 int targetVersion()
          Gets the target format version, to which this converter will convert data.
 

Method Detail

canConvert

boolean canConvert(int version)
Gets a flag if the given version is supported by the implementation of this converter.

Parameters:
version - The requested version to be converted.
Returns:
True, if this converter can convert the given version; otherwise false.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

targetVersion

int targetVersion()
Gets the target format version, to which this converter will convert data.

Returns:
The target version of this converter.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertFrames

Map<String,com.kuka.roboticsAPI.persistenceModel.PersistentFrame> convertFrames(Map<String,com.kuka.roboticsAPI.persistenceModel.PersistentFrame> frames)
Converts the given frames to the target version format.

Parameters:
frames - The frames which should be converted.
Returns:
The converted frame list.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertTools

Map<String,ToolData> convertTools(Map<String,ToolData> tools)
Converts the given tools to the target version format.

Parameters:
tools - The tools which should be converted.
Returns:
The converted tool list.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertUserData

Map<String,UserData> convertUserData(Map<String,UserData> userDatas)
Converts the given user data to the target version format.

Parameters:
userDatas - The user data which should be converted.
Returns:
The converted user data list.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertTemplateElements

Map<String,TemplateElement> convertTemplateElements(Map<String,TemplateElement> templateElements)
Converts the given template elements to the target version format.

Parameters:
templateElements - The template elements which should be converted.
Returns:
The converted template element list.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertObjectTemplates

ObjectTemplate convertObjectTemplates(ObjectTemplate objectTemplateData)
Parameters:
objectTemplateData - The object templates that should be converted.
Returns:
objectTemplateData
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

convertProcessDataContainer

ProcessDataContainer convertProcessDataContainer(ProcessDataContainer processDataContainer)
Parameters:
processDataContainer - instance of processDataContainer
Returns:
conversion result


Copyright © 2019. All rights reserved.