com.kuka.roboticsAPI.controllerModel.sunrise.xml
Class XmlModule

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
          extended by com.kuka.roboticsAPI.controllerModel.sunrise.xml.XmlModule
All Implemented Interfaces:
com.kuka.common.IDataEquatable, IExpressionSegment, ISprComponent, ISegment

public class XmlModule
extends Module

This class is able to load a module from it's xml representation.

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.

Constructor Summary
XmlModule(RoboticsAPIContext context, String resourceName)
          Creates a new XmlModule instance.
XmlModule(String fileName)
          Creates a new XmlModule instance fom the full file path string.
XmlModule(URL url)
          Creates an XmlModule out of the given URL.
 
Method Summary
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
getComponentType, getComponentVersion
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, hasSameDataAs, onAsyncEvent, onFinished, onInitialize, onSerialization, onSPRStateChanged, onSPRStateChangedSync, setInstanceName, setName, toString, tryGetParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlModule

public XmlModule(RoboticsAPIContext context,
                 String resourceName)
Creates a new XmlModule instance.

Parameters:
context - The context of this module.
resourceName - The resource from which the module should be loaded.
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.

XmlModule

public XmlModule(URL url)
Creates an XmlModule out of the given URL.

Parameters:
url - The URL containing the module.
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.

XmlModule

public XmlModule(String fileName)
          throws MalformedURLException
Creates a new XmlModule instance fom the full file path string.

Parameters:
fileName - The full file path string from which the module should be created.
Throws:
MalformedURLException - If given file is invalid.
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.


Copyright © 2019. All rights reserved.