org.sblim.cimclient.internal.uri
Class NamespacePath

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

public class NamespacePath
extends java.lang.Object

     namespacePath      =       [namespaceType ":"] namespaceHandle
     namespaceType      =       ("http" ["s"]) / ("cimxml.wbem" ["s"])
 


Constructor Summary
  NamespacePath(java.lang.String pNamespaceName)
          Constructs a NamespacePath with namespace name only.
protected NamespacePath(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle)
           
 
Method Summary
 java.lang.String getHost()
          getHost
 java.lang.String getNamespaceName()
          getNamespaceName
 java.lang.String getNamespaceType()
          getNamespaceType
 java.lang.String getPort()
          getPort
 java.lang.String getUserInfo()
          getUserInfo
static NamespacePath parse(URIString pUriStr)
          Tries to parse a namespace path from the passed uriStr.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.