Class NamespacePath

java.lang.Object
org.sblim.cimclient.internal.uri.NamespacePath

public class NamespacePath extends Object
    namespacePath       =       [namespaceType ":"] namespaceHandle
    namespaceType       =       ("http" ["s"]) / ("cimxml.wbem" ["s"])
  • Constructor Details

    • NamespacePath

      protected NamespacePath(String pNamespaceType, NamespaceHandle pNamespaceHandle)
    • NamespacePath

      public NamespacePath(String pNamespaceName)
      Constructs a NamespacePath with namespace name only.
      Parameters:
      pNamespaceName -
  • Method Details

    • parse

      public static NamespacePath parse(URIString pUriStr)
      Tries to parse a namespace path from the passed uriStr.
      Parameters:
      pUriStr -
      Returns:
      NamespacePath instance or null if failed.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getNamespaceType

      public String getNamespaceType()
      getNamespaceType
      Returns:
      the namespace type String
    • getNamespaceName

      public String getNamespaceName()
      getNamespaceName
      Returns:
      the namespace name String
    • getUserInfo

      public String getUserInfo()
      getUserInfo
      Returns:
      String
    • getHost

      public String getHost()
      getHost
      Returns:
      String
    • getPort

      public String getPort()
      getPort
      Returns:
      String