Package org.sblim.cimclient.internal.uri
Class NamespaceHandle
java.lang.Object
org.sblim.cimclient.internal.uri.NamespaceHandle
namespaceHandle = ["//" authority] "/" [namespaceName] namespaceName = IDENTIFIER *("/"IDENTIFIER)
-
Constructor Summary
ConstructorsConstructorDescriptionNamespaceHandle
(String pNamespaceName) Constructs a NamespaceHandle with namespace name only. -
Method Summary
Modifier and TypeMethodDescriptiongetHost()
getHostgetName()
getNamegetPort()
getPortgetUserInfostatic NamespaceHandle
Factory method which tries to build aNamespaceHandle
from the passedpUriStr
static String
parseNamespaceName
(URIString pUriStr) IDENTIFIER *("/"IDENTIFIER)
toString()
-
Constructor Details
-
NamespaceHandle
Constructs a NamespaceHandle with namespace name only.- Parameters:
pNamespaceName
-
-
-
Method Details
-
parse
Factory method which tries to build aNamespaceHandle
from the passedpUriStr
- Parameters:
pUriStr
-- Returns:
- a
NamespaceHandle
ornull
in case of failure
-
toString
-
getName
getName- Returns:
- String
-
getUserInfo
getUserInfo- Returns:
- String
-
getHost
getHost- Returns:
- String
-
getPort
getPort- Returns:
- String
-
parseNamespaceName
IDENTIFIER *("/"IDENTIFIER)
- Parameters:
pUriStr
-- Returns:
String
containing the namespace name ornull
if failed.
-