com.sapportals.wcm.util.uri

Interface IUri

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

public interface IUri

A RFC2396 URI interface.

     Uri ::= scheme ':' remainder
 

Copyright (c) SAP AG 2001-2005


Method Summary
 String getRemainder()
          Get the remainder of this URI (part after scheme without ':').
 String getScheme()
          Get the scheme of this URI (without ':').
 IUri resolve(IUriReference reference)
          Resolve the URI reference in the context of this URI.
 String toExternalForm()
          Returns a string representation according to RFC 2396 of this URI.
 

Method Detail

getScheme

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

Returns:
scheme of this URI

getRemainder

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

Returns:
remainder of this URI

resolve

public IUri resolve(IUriReference reference)
             throws IllegalArgumentException
Resolve the URI reference in the context of this URI.

Returns:
resolved reference as absolute URI without fragment identifier
Throws:
IllegalArgumentException

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