Class NamespacePath

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

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

    Constructors
    Modifier
    Constructor
    Description
     
    NamespacePath(java.lang.String pNamespaceName)
    Constructs a NamespacePath with namespace name only.
    protected
    NamespacePath(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    getHost
    java.lang.String
    getNamespaceName
    java.lang.String
    getNamespaceType
    java.lang.String
    getPort
    java.lang.String
    getUserInfo
    parse(URIString pUriStr)
    Tries to parse a namespace path from the passed uriStr.
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NamespacePath

      protected NamespacePath(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle)
    • NamespacePath

      public NamespacePath(java.lang.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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
      See Also:
      • Object.toString()
    • getNamespaceType

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

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

      public java.lang.String getUserInfo()
      getUserInfo
      Returns:
      String
    • getHost

      public java.lang.String getHost()
      getHost
      Returns:
      String
    • getPort

      public java.lang.String getPort()
      getPort
      Returns:
      String