public class URI extends Object
untypedNamespacePath = namespacePath untypedClassPath = namespacePath ":" className untypedInstancePath = namespacePath ":" className "." key_value_pairs typedNamespacePath = namespacePath "/(namespace)" typedClassPath = namespacePath "/(class)" className typedInstancePath = namespacePath "/(instance)" className "." typed_key_value_pairs
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
getClassName
|
String |
getHost()
getHost Userinfo is attached if exists.
|
KeyValuePairs |
getKeyValuePairs()
getKeyValuePairs
|
String |
getNamespaceName()
getNamespaceName
|
String |
getNamespaceType()
getNamespaceType
|
String |
getPort()
getPort
|
String |
getUserInfo()
getUserInfo
|
static URI |
parse(String pUri)
parse
|
static URI |
parseRef(URIString pUriStr,
boolean pTyped)
referenceValue = [ namespaceName ":" ] className "."
untyped_key_value_pairs
typed_reference_value = "(reference)" "\"" typedReferenceValue "\""
// according to Alexander we have to support instance references only
typedReferenceValue = [ namespaceName ] "/(instance)" className "."
typed_key_value_pairs
|
String |
toString() |
public static URI parse(String pUri) throws IllegalArgumentException
pUri
- IllegalArgumentException
- if parsing failed.public static URI parseRef(URIString pUriStr, boolean pTyped) throws IllegalArgumentException
referenceValue = [ namespaceName ":" ] className "." untyped_key_value_pairs typed_reference_value = "(reference)" "\"" typedReferenceValue "\"" // according to Alexander we have to support instance references only typedReferenceValue = [ namespaceName ] "/(instance)" className "." typed_key_value_pairs
pUriStr
- pTyped
- IllegalArgumentException
- if parsing failedpublic String getNamespaceType()
public String getNamespaceName()
public String getUserInfo()
public String getHost()
public String getPort()
public String getClassName()
public KeyValuePairs getKeyValuePairs()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.