org.sblim.cimclient.internal.uri
Class NamespacePath

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

public class NamespacePath
extends Object

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


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

Constructor Detail

NamespacePath

protected NamespacePath(String pNamespaceType,
                        NamespaceHandle pNamespaceHandle)

NamespacePath

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

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


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