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.voidsetProperty(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:DynamicPropertyHandlerReturns the value of the specified dynamic property.- Specified by:
getPropertyin interfaceDynamicPropertyHandler- Parameters:
pageScope- to searchproperty- to retrieve- Returns:
- Object
-
getPropertyNames
Description copied from interface:DynamicPropertyHandlerReturns a list of dynamic property names for the supplied object.- Specified by:
getPropertyNamesin interfaceDynamicPropertyHandler- Parameters:
pageScope- to inspect- Returns:
- String[]
-
setProperty
Description copied from interface:DynamicPropertyHandlerModifies the value of the specified dynamic property.- Specified by:
setPropertyin interfaceDynamicPropertyHandler- Parameters:
pageScope- to modifyproperty- to modifyvalue- to set
-