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
.-
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.
-
Constructor Details
-
PageScopeContextHandler
public PageScopeContextHandler()Constructs a new instance.
-
-
Method Details
-
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
-
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[]
-
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
-