SAP NetWeaver '04

com.sapportals.wcm.util.uri
Class URL

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.WcmObject
        |
        +--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


Fields inherited from class com.sapportals.wcm.WcmObject
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE
 
Constructor Summary
URL()
          Deprecated. as of NW04.
URL(java.lang.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
 java.lang.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(java.lang.String target)
          Creates a "URL" object for usage as link target container.
 java.lang.String getPort()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 java.lang.String getProtocol()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 java.lang.String getQueryParameter()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 URI getURI()
          Deprecated. as of NW04. Use UriFactory to parse URIs.
 java.lang.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(java.lang.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(java.lang.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 java.lang.String getProtocol()
Deprecated. as of NW04. Use UriFactory to parse URIs.

Returns:
protocol

getHost

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


getPort

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


getQueryParameter

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

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.