Class PageScopeContextHandler
java.lang.Object
org.apache.commons.jxpath.servlet.PageScopeContextHandler
- All Implemented Interfaces:
DynamicPropertyHandler
Implementation of the
DynamicPropertyHandler
interface that provides
access to attributes of a PageScopeContext
.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(Object pageScope, String property) Returns the value of the specified dynamic property.String[]
getPropertyNames
(Object pageScope) Returns a list of dynamic property names for the supplied object.void
setProperty
(Object pageScope, String property, Object value) Modifies the value of the specified dynamic property.
-
Field Details
-
DEFAULT_LIST_SIZE
private static final int DEFAULT_LIST_SIZE- See Also:
-
-
Constructor Details
-
PageScopeContextHandler
public PageScopeContextHandler()
-
-
Method Details
-
getPropertyNames
Description copied from interface:DynamicPropertyHandler
Returns a list of dynamic property names for the supplied object.- Specified by:
getPropertyNames
in interfaceDynamicPropertyHandler
- Parameters:
pageScope
- to inspect- Returns:
- String[]
-
getProperty
Description copied from interface:DynamicPropertyHandler
Returns the value of the specified dynamic property.- Specified by:
getProperty
in interfaceDynamicPropertyHandler
- Parameters:
pageScope
- to searchproperty
- to retrieve- Returns:
- Object
-
setProperty
Description copied from interface:DynamicPropertyHandler
Modifies the value of the specified dynamic property.- Specified by:
setProperty
in interfaceDynamicPropertyHandler
- Parameters:
pageScope
- to modifyproperty
- to modifyvalue
- to set
-