com.sap.netweaver.bc.rf.common

Interface IAbsoluteUri

All Known Subinterfaces:
IHierarchicalUri
All Known Implementing Classes:
GenericUri, HttpUrl, OpaqueLockTokenUri

public interface IAbsoluteUri

A RFC2396 absolute URI interface.

     Uri ::= scheme ':' remainder
 

Copyright (c) SAP AG 2001-2003


Method Summary
 String getRemainder()
          Get the remainder of this AbsoluteUri (part after scheme without ':').
 String getScheme()
          Get the scheme of this AbsoluteUri (without ':').
 IAbsoluteUri resolve(IUriReference reference)
          Resolve the URI reference in the context of this AbsoluteUri (as per RFC2396, section 5.2).
 String toExternalForm()
          Returns a string representation according to RFC 2396 of this uri.
 

Method Detail

getScheme

public String getScheme()
Get the scheme of this AbsoluteUri (without ':').

Returns:
scheme of this AbsoluteUri

getRemainder

public String getRemainder()
Get the remainder of this AbsoluteUri (part after scheme without ':').

Returns:
remainder of this AbsoluteUri

resolve

public IAbsoluteUri resolve(IUriReference reference)
                     throws IllegalArgumentException
Resolve the URI reference in the context of this AbsoluteUri (as per RFC2396, section 5.2).

Parameters:
reference - URI reference to be resolved
Returns:
resolved reference as absolute URI without fragment identifier
Throws:
IllegalArgumentException - Exception raised in failure situation

toExternalForm

public String toExternalForm()
Returns a string representation according to RFC 2396 of this uri.

Returns:
string in URI format


Copyright 2006 SAP AG Complete Copyright Notice