com.sapportals.wcm.util.uri

Class URL

java.lang.Object
  extended by com.sapportals.wcm.WcmObject
      extended by com.sapportals.wcm.util.uri.URL

public class URL
extends WcmObject

DO NOT USE this class except to create instances of URL objects to be used for link creation.

Copyright (c) SAP AG 2001-2004


Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmObject
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE
 
Constructor Summary
URL()
          Deprecated. as of NW04.
URL(String url)
          Deprecated. as of NW04. in general, use UriFactory to parse URIs -- to specifically create an instance of URL for usage with link creation methods, use getInstance(IUriReference), getInstance(RID) or getInstance(String).
 
Method Summary
 String getHost()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
static URL getInstance(IUriReference uriref)
          Creates a "URL" object for usage as external link target container.
static URL getInstance(RID rid)
          Creates a "URL" object for usage as internal link target container.
static URL getInstance(String target)
          Creates a "URL" object for usage as link target container.
 String getPort()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 String getProtocol()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 String getQueryParameter()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 URI getURI()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URL

public URL()
Deprecated. as of NW04.


URL

public URL(String url)
Deprecated. as of NW04. in general, use UriFactory to parse URIs -- to specifically create an instance of URL for usage with link creation methods, use getInstance(IUriReference), getInstance(RID) or getInstance(String).

Method Detail

getInstance

public static URL getInstance(String target)
Creates a "URL" object for usage as link target container.

Parameters:
target - string representation of a RID or a IUriReference.

getInstance

public static URL getInstance(IUriReference uriref)
Creates a "URL" object for usage as external link target container.

Parameters:
uriref - URI reference

getInstance

public static URL getInstance(RID rid)
Creates a "URL" object for usage as internal link target container.

Parameters:
rid - RID

getProtocol

public String getProtocol()
Deprecated. as of NW04. Use UriFactory to parse URIs.

Returns:
protocol

getHost

public String getHost()
Deprecated. as of NW04. Use UriFactory to parse URIs.


getPort

public String getPort()
Deprecated. as of NW04. Use UriFactory to parse URIs.


getQueryParameter

public String getQueryParameter()
Deprecated. as of NW04. Use UriFactory to parse URIs.


getURI

public URI getURI()
Deprecated. as of NW04. Use UriFactory to parse URIs.


toString

public String toString()
Overrides:
toString in class Object
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