Package org.sblim.cimclient.internal.uri
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
getHostjava.lang.String
getNamespaceName()
getNamespaceNamejava.lang.String
getNamespaceType()
getNamespaceTypejava.lang.String
getPort()
getPortjava.lang.String
getUserInfo()
getUserInfostatic NamespacePath
parse(URIString pUriStr)
Tries to parse a namespace path from the passeduriStr
.java.lang.String
toString()
-
-
-
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 passeduriStr
.- Parameters:
pUriStr
-- Returns:
NamespacePath
instance ornull
if failed.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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
-
-