public class PageContextHandler extends Object implements DynamicPropertyHandler
DynamicPropertyHandler interface that provides
access to attributes of a PageContext in all scopes.| Constructor and Description |
|---|
PageContextHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(Object pageContext,
String property)
Returns
pageContext.findAttribute(property). |
String[] |
getPropertyNames(Object pageContext)
Returns a list of dynamic property names for the supplied object.
|
void |
setProperty(Object pageContext,
String property,
Object value)
Modifies the value of the specified dynamic property.
|
public String[] getPropertyNames(Object pageContext)
DynamicPropertyHandlergetPropertyNames in interface DynamicPropertyHandlerpageContext - to inspectpublic Object getProperty(Object pageContext, String property)
pageContext.findAttribute(property).getProperty in interface DynamicPropertyHandlerpageContext - to searchproperty - namepublic void setProperty(Object pageContext, String property, Object value)
DynamicPropertyHandlersetProperty in interface DynamicPropertyHandlerpageContext - to modifyproperty - to modifyvalue - to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.