com.sapportals.wcm.util.uri

Class OpaqueLockTokenUri

java.lang.Object
  extended by com.sapportals.wcm.util.uri.OpaqueLockTokenUri
All Implemented Interfaces:
IUri

public class OpaqueLockTokenUri
extends Object
implements IUri

A RFC2518 IUri implementation.

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

Copyright (c) SAP AG 2001-2004


Constructor Summary
OpaqueLockTokenUri(String remainder)
           
 
Method Summary
 void checkSyntax()
           
 boolean equals(IUri other)
           
 boolean equals(Object other)
           
 String getRemainder()
          Get the remainder of this URI (part after scheme without ':').
 String getScheme()
          Get the scheme of this URI (without ':').
 int hashCode()
           
protected  IUri newInstance(String remainder)
           
 IUri resolve(IUriReference ref)
          Resolve the URI reference in the context of this URI.
 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
Throws:
IllegalArgumentException
Method Detail

newInstance

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

getRemainder

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

Specified by:
getRemainder in interface IUri
Returns:
remainder of this URI

getScheme

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

Specified by:
getScheme in interface IUri
Returns:
scheme of this URI

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toExternalForm

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

Specified by:
toExternalForm in interface IUri
Returns:
string in uri format

toString

public String toString()
Overrides:
toString in class Object

resolve

public IUri resolve(IUriReference ref)
             throws IllegalArgumentException
Description copied from interface: IUri
Resolve the URI reference in the context of this URI.

Specified by:
resolve in interface IUri
Returns:
resolved reference as absolute URI without fragment identifier
Throws:
IllegalArgumentException

checkSyntax

public void checkSyntax()
                 throws MalformedURLException
Throws:
MalformedURLException

equals

public boolean equals(Object other)
Overrides:
equals in class Object

equals

public boolean equals(IUri other)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice