org.sblim.cimclient.internal.uri

Class URI

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
 
Method Summary
StringgetClassName()
getClassName
StringgetHost()
getHost Userinfo is attached if exists.
KeyValuePairsgetKeyValuePairs()
getKeyValuePairs
StringgetNamespaceName()
getNamespaceName
StringgetNamespaceType()
getNamespaceType
StringgetPort()
getPort
StringgetUserInfo()
getUserInfo
static URIparse(String pUri)
parse
static URIparseRef(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
 

Method Detail

getClassName

public String getClassName()
getClassName

Returns: String or null if not set

getHost

public String getHost()
getHost Userinfo is attached if exists.

Returns: String or null if not set

getKeyValuePairs

public KeyValuePairs getKeyValuePairs()
getKeyValuePairs

Returns: KeyValuePairs or null if not set

getNamespaceName

public String getNamespaceName()
getNamespaceName

Returns: String or null if not set

getNamespaceType

public String getNamespaceType()
getNamespaceType

Returns: String or null if not set

getPort

public String getPort()
getPort

Returns: String or null if not set

getUserInfo

public String getUserInfo()
getUserInfo

Returns: String or null if not set

parse

public static URI parse(String pUri)
parse

Parameters: pUri

Returns: URI

Throws: IllegalArgumentException if parsing failed.

parseRef

public 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
 

Parameters: pUriStr pTyped

Returns: URI

Throws: IllegalArgumentException if parsing failed

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