Class NodeIds


  • public final class NodeIds
    extends Object
    Helper class to work with node IDs
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static String nodeValue​(int namespace, int node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(int namespace, String node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(int namespace, UUID node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(int namespace, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(String namespace, int node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(String namespace, String node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(String namespace, UUID node)
      Create an attribute value for the "node" attribute
      static String nodeValue​(String namespace, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString node)
      Create an attribute value for the "node" attribute
      static org.eclipse.milo.opcua.stack.core.types.builtin.NodeId toNodeId​(int namespaceIndex, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId)  
      static org.eclipse.milo.opcua.stack.core.types.builtin.NodeId toNodeId​(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort namespaceIndex, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId)  
    • Method Detail

      • toNodeId

        public static org.eclipse.milo.opcua.stack.core.types.builtin.NodeId toNodeId​(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort namespaceIndex,
                                                                                      org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId)
      • toNodeId

        public static org.eclipse.milo.opcua.stack.core.types.builtin.NodeId toNodeId​(int namespaceIndex,
                                                                                      org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId nodeId)
      • nodeValue

        public static String nodeValue​(String namespace,
                                       String node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(String namespace,
                                       int node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(String namespace,
                                       UUID node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(String namespace,
                                       org.eclipse.milo.opcua.stack.core.types.builtin.ByteString node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(int namespace,
                                       String node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(int namespace,
                                       int node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(int namespace,
                                       UUID node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute
      • nodeValue

        public static String nodeValue​(int namespace,
                                       org.eclipse.milo.opcua.stack.core.types.builtin.ByteString node)
        Create an attribute value for the "node" attribute
        Parameters:
        namespace - the namespace to use
        node - the node ID
        Returns:
        the value ready to append to a "node" URI attribute