com.sap.netweaver.bc.rf.common

Class OpaqueLockTokenUri

java.lang.Object
  extended bycom.sap.netweaver.bc.rf.common.OpaqueLockTokenUri
All Implemented Interfaces:
IAbsoluteUri

public class OpaqueLockTokenUri
extends Object
implements IAbsoluteUri

A RFC2518 IUri implementation.

      lturl      := "opaquelocktoken:" UUID [ext]
      ext        := path
 

Copyright (c) SAP AG 2001-2003


Constructor Summary
OpaqueLockTokenUri(String remainder)
           
 
Method Summary
 boolean equals(IAbsoluteUri other)
           
 boolean equals(Object other)
           
 String getRemainder()
          Get the remainder of this AbsoluteUri (part after scheme without ':').
 String getScheme()
          Get the scheme of this AbsoluteUri (without ':').
 int hashCode()
           
protected  IAbsoluteUri newInstance(String remainder)
           
 IAbsoluteUri resolve(IUriReference ref)
          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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpaqueLockTokenUri

public OpaqueLockTokenUri(String remainder)
                   throws IllegalArgumentException
Method Detail

newInstance

protected IAbsoluteUri newInstance(String remainder)
                            throws IllegalArgumentException
Throws:
IllegalArgumentException

getRemainder

public String getRemainder()
Description copied from interface: IAbsoluteUri
Get the remainder of this AbsoluteUri (part after scheme without ':').

Specified by:
getRemainder in interface IAbsoluteUri
Returns:
remainder of this AbsoluteUri

getScheme

public String getScheme()
Description copied from interface: IAbsoluteUri
Get the scheme of this AbsoluteUri (without ':').

Specified by:
getScheme in interface IAbsoluteUri
Returns:
scheme of this AbsoluteUri

hashCode

public int hashCode()

toExternalForm

public String toExternalForm()
Description copied from interface: IAbsoluteUri
Returns a string representation according to RFC 2396 of this uri.

Specified by:
toExternalForm in interface IAbsoluteUri
Returns:
string in URI format

toString

public String toString()

resolve

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

Specified by:
resolve in interface IAbsoluteUri
Parameters:
ref - URI reference to be resolved
Returns:
resolved reference as absolute URI without fragment identifier
Throws:
IllegalArgumentException - Exception raised in failure situation

equals

public boolean equals(Object other)

equals

public boolean equals(IAbsoluteUri other)


Copyright 2006 SAP AG Complete Copyright Notice