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 NamespaceHandleFactory method which tries to build aNamespaceHandlefrom the passedpUriStrstatic StringparseNamespaceName(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 aNamespaceHandlefrom the passedpUriStr- Parameters:
pUriStr-- Returns:
- a
NamespaceHandleornullin 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:
Stringcontaining the namespace name ornullif failed.
-