org.apache.myfaces.custom.requestParameterProvider
Class RequestParameterProviderManager

java.lang.Object
  extended by org.apache.myfaces.custom.requestParameterProvider.RequestParameterProviderManager
All Implemented Interfaces:
java.io.Serializable

public class RequestParameterProviderManager
extends java.lang.Object
implements java.io.Serializable

Version:
27.04.2006 22:42:32
Author:
Thomas Obereder
See Also:
Serialized Form

Method Summary
 java.lang.String encodeAndAttachParameters(java.lang.String url)
          Encode all fields of all providers, and attach the name-value pairs to url.
static RequestParameterProviderManager getInstance()
           
static RequestParameterProviderManager getInstance(javax.faces.context.FacesContext context)
           
 boolean hasProviders()
          Check if there are any providers registered.
 boolean isFilterCalled()
           
 void register(RequestParameterProvider provider)
          Register the given provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RequestParameterProviderManager getInstance()

getInstance

public static RequestParameterProviderManager getInstance(javax.faces.context.FacesContext context)

register

public void register(RequestParameterProvider provider)
Register the given provider.

Parameters:
provider - the provider to register.

encodeAndAttachParameters

public java.lang.String encodeAndAttachParameters(java.lang.String url)
Encode all fields of all providers, and attach the name-value pairs to url.

Parameters:
url - the URL to which the fields should be attached.
Returns:
the url after attaching all fields.

hasProviders

public boolean hasProviders()
Check if there are any providers registered.

Returns:
true, if the list is not null and not empty.

isFilterCalled

public boolean isFilterCalled()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.