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
ConstructorsModifierConstructorDescriptionNamespacePath
(java.lang.String pNamespaceName) Constructs a NamespacePath with namespace name only.protected
NamespacePath
(java.lang.String pNamespaceType, NamespaceHandle pNamespaceHandle) -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.String
getHost()
getHostjava.lang.String
getNamespaceNamejava.lang.String
getNamespaceTypejava.lang.String
getPort()
getPortjava.lang.String
getUserInfostatic NamespacePath
Tries to parse a namespace path from the passeduriStr
.java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
NamespacePath
-
NamespacePath
public NamespacePath(java.lang.String pNamespaceName) Constructs a NamespacePath with namespace name only.- Parameters:
pNamespaceName
-
-
-
Method Details
-
parse
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
-