public class NamespaceHandle extends Object
namespaceHandle = ["//" authority] "/" [namespaceName] namespaceName = IDENTIFIER *("/"IDENTIFIER)
Constructor and Description |
---|
NamespaceHandle(String pNamespaceName)
Constructs a NamespaceHandle with namespace name only.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
getHost
|
String |
getName()
getName
|
String |
getPort()
getPort
|
String |
getUserInfo()
getUserInfo
|
static NamespaceHandle |
parse(URIString pUriStr)
Factory method which tries to build a
NamespaceHandle from
the passed pUriStr |
static String |
parseNamespaceName(URIString pUriStr)
IDENTIFIER *("/"IDENTIFIER) |
String |
toString() |
public NamespaceHandle(String pNamespaceName)
pNamespaceName
- public static NamespaceHandle parse(URIString pUriStr)
NamespaceHandle
from
the passed pUriStr
pUriStr
- NamespaceHandle
or null
in case of
failurepublic String toString()
toString
in class Object
Object.toString()
public String getName()
public String getUserInfo()
public String getHost()
public String getPort()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.