com.liferay.faces.bridge
Class RequestAttributeInspectorWrapper

java.lang.Object
  extended by com.liferay.faces.bridge.RequestAttributeInspectorWrapper
All Implemented Interfaces:
RequestAttributeInspector, javax.faces.FacesWrapper<RequestAttributeInspector>

public abstract class RequestAttributeInspectorWrapper
extends Object
implements RequestAttributeInspector, javax.faces.FacesWrapper<RequestAttributeInspector>

Author:
Neil Griffin

Constructor Summary
RequestAttributeInspectorWrapper()
           
 
Method Summary
 boolean containsExcludedNamespace(String name)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name name starts with a particular sequence of characters (a namespace).
abstract  RequestAttributeInspector getWrapped()
           
 boolean isExcludedByAnnotation(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a class annotated with ExcludeFromManagedRequestScope.
 boolean isExcludedByConfig(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name appears in the bridge:excluded-attributes element within the faces-config.xml descriptor.
 boolean isExcludedByPreExisting(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name matches the name of a request attribute that existed before the bridge acquired the FacesContext.
 boolean isExcludedByType(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a particular class such as those listed in Section 5.1.2 of the Bridge Specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAttributeInspectorWrapper

public RequestAttributeInspectorWrapper()
Method Detail

getWrapped

public abstract RequestAttributeInspector getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<RequestAttributeInspector>

containsExcludedNamespace

public boolean containsExcludedNamespace(String name)
Description copied from interface: RequestAttributeInspector
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name name starts with a particular sequence of characters (a namespace).

Specified by:
containsExcludedNamespace in interface RequestAttributeInspector
Parameters:
name - The request attribute name.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByAnnotation

public boolean isExcludedByAnnotation(String name,
                                      Object value)
Description copied from interface: RequestAttributeInspector
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a class annotated with ExcludeFromManagedRequestScope.

Specified by:
isExcludedByAnnotation in interface RequestAttributeInspector
Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByConfig

public boolean isExcludedByConfig(String name,
                                  Object value)
Description copied from interface: RequestAttributeInspector
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name appears in the bridge:excluded-attributes element within the faces-config.xml descriptor.

Specified by:
isExcludedByConfig in interface RequestAttributeInspector
Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByPreExisting

public boolean isExcludedByPreExisting(String name,
                                       Object value)
Description copied from interface: RequestAttributeInspector
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name matches the name of a request attribute that existed before the bridge acquired the FacesContext.

Specified by:
isExcludedByPreExisting in interface RequestAttributeInspector
Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByType

public boolean isExcludedByType(String name,
                                Object value)
Description copied from interface: RequestAttributeInspector
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a particular class such as those listed in Section 5.1.2 of the Bridge Specification.

Specified by:
isExcludedByType in interface RequestAttributeInspector
Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.


Copyright © 2017 Liferay, Inc. All Rights Reserved.