org.apache.myfaces.trinidadinternal.share.url
Interface URLEncoder

All Known Implementing Classes:
FacesURLEncoder

public interface URLEncoder

Interface for the encoding of URLs.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/url/URLEncoder.java#0 $) $Date: 10-nov-2005.18:59:28 $
Author:
The Oracle ADF Faces Team

Method Summary
 java.lang.String encodeParameter(java.lang.String key)
          Given the logical name of a parameter, return the parameter key that should be used in the URL.
 java.lang.String encodeURL(java.lang.String url)
          Encode an URL.
 java.lang.String getDefaultURL()
           
 

Method Detail

encodeParameter

java.lang.String encodeParameter(java.lang.String key)
Given the logical name of a parameter, return the parameter key that should be used in the URL. This function should not be used for parameter values.


encodeURL

java.lang.String encodeURL(java.lang.String url)
Encode an URL.


getDefaultURL

java.lang.String getDefaultURL()
Returns:
this is an URL to the current page. This is useful, for example, in a form submission; if the destination of a form has not been set, this default URL can be used to submit the form back to the page it originated from.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.