org.sblim.cimclient.internal.uri

Class NamespaceHandle

public class NamespaceHandle extends Object

     namespaceHandle = ["//" authority] "/" [namespaceName]
     namespaceName   = IDENTIFIER *("/"IDENTIFIER)
 
Constructor Summary
NamespaceHandle(String pNamespaceName)
Constructs a NamespaceHandle with namespace name only.
Method Summary
StringgetHost()
getHost
StringgetName()
getName
StringgetPort()
getPort
StringgetUserInfo()
getUserInfo
static NamespaceHandleparse(URIString pUriStr)
Factory method which tries to build a NamespaceHandle from the passed pUriStr
static StringparseNamespaceName(URIString pUriStr)
IDENTIFIER *("/"IDENTIFIER)

Constructor Detail

NamespaceHandle

public NamespaceHandle(String pNamespaceName)
Constructs a NamespaceHandle with namespace name only.

Parameters: pNamespaceName

Method Detail

getHost

public String getHost()
getHost

Returns: String

getName

public String getName()
getName

Returns: String

getPort

public String getPort()
getPort

Returns: String

getUserInfo

public String getUserInfo()
getUserInfo

Returns: String

parse

public static NamespaceHandle parse(URIString pUriStr)
Factory method which tries to build a NamespaceHandle from the passed pUriStr

Parameters: pUriStr

Returns: a NamespaceHandle or null in case of failure

parseNamespaceName

public static String parseNamespaceName(URIString pUriStr)
IDENTIFIER *("/"IDENTIFIER)

Parameters: pUriStr

Returns: String containing the namespace name or null if failed.

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