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

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.xml.XmlTypes

public final class XmlTypes
extends Object

Helper class to create serializable types out of Xml.

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
static ComplexSerializableType createEmptyComplexType(String type, int dim1, int dim2, int dim3, int dim4)
          Creates an empty complex data type.
static ISerializableType createEmptyListType(String type, int length)
          Creates an empty serializable list of the given length.
static ISerializableType createEmptySerializableType(Node valueNode)
          Creates an empty serializable type out of the node.
static ISerializableType createEmptySimpleType(String type)
          Creates an empty simple data type.
static ISerializableType getValue(Node parameter)
          Gets a value out of a node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public static ISerializableType getValue(Node parameter)
Gets a value out of a node.

Parameters:
parameter - The node containing the value.
Returns:
The deserialized value.
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.

createEmptySerializableType

public static ISerializableType createEmptySerializableType(Node valueNode)
Creates an empty serializable type out of the node.

Parameters:
valueNode - The node containing the value. The value itself will be ignored.
Returns:
The serializable type.
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.

createEmptyComplexType

public static ComplexSerializableType createEmptyComplexType(String type,
                                                             int dim1,
                                                             int dim2,
                                                             int dim3,
                                                             int dim4)
Creates an empty complex data type.

Parameters:
type - The type name.
dim1 - 1. Dimension.
dim2 - 2. Dimension.
dim3 - 3. Dimension.
dim4 - 4. Dimension.
Returns:
The created data type.
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.

createEmptyListType

public static ISerializableType createEmptyListType(String type,
                                                    int length)
Creates an empty serializable list of the given length.

Parameters:
type - The type of the elements in the list.
length - The length of the list.
Returns:
The serializable 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.

createEmptySimpleType

public static ISerializableType createEmptySimpleType(String type)
Creates an empty simple data type.

Parameters:
type - The type name.
Returns:
The created data type.
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.