Class PageScopeContextHandler
- java.lang.Object
-
- org.apache.commons.jxpath.servlet.PageScopeContextHandler
-
- All Implemented Interfaces:
DynamicPropertyHandler
public class PageScopeContextHandler extends java.lang.Object implements DynamicPropertyHandler
Implementation of theDynamicPropertyHandler
interface that provides access to attributes of aPageScopeContext
.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
-
Field Summary
Fields Modifier and Type Field Description private static int
DEFAULT_LIST_SIZE
-
Constructor Summary
Constructors Constructor Description PageScopeContextHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getProperty(java.lang.Object pageScope, java.lang.String property)
Returns the value of the specified dynamic property.java.lang.String[]
getPropertyNames(java.lang.Object pageScope)
Returns a list of dynamic property names for the supplied object.void
setProperty(java.lang.Object pageScope, java.lang.String property, java.lang.Object value)
Modifies the value of the specified dynamic property.
-
-
-
Field Detail
-
DEFAULT_LIST_SIZE
private static final int DEFAULT_LIST_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyNames
public java.lang.String[] getPropertyNames(java.lang.Object pageScope)
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
public java.lang.Object getProperty(java.lang.Object pageScope, java.lang.String property)
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
public void setProperty(java.lang.Object pageScope, java.lang.String property, java.lang.Object value)
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
-
-