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 PageContextHandler()
public String[] getPropertyNames(Object pageContext)
DynamicPropertyHandler
getPropertyNames
in interface DynamicPropertyHandler
pageContext
- to inspectpublic Object getProperty(Object pageContext, String property)
pageContext.findAttribute(property)
.getProperty
in interface DynamicPropertyHandler
pageContext
- to searchproperty
- namepublic void setProperty(Object pageContext, String property, Object value)
DynamicPropertyHandler
setProperty
in interface DynamicPropertyHandler
pageContext
- to modifyproperty
- to modifyvalue
- to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.