java.lang.Object
org.apache.commons.jxpath.servlet.PageContextHandler
- All Implemented Interfaces:
- org.apache.commons.jxpath.DynamicPropertyHandler
- public class PageContextHandler
- extends java.lang.Object
- implements org.apache.commons.jxpath.DynamicPropertyHandler
Implementation of the DynamicPropertyHandler interface that provides
access to attributes of a PageContext in all scopes.
- Version:
- $Revision: 1.6 $ $Date: 2004/05/08 15:10:49 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageContextHandler
public PageContextHandler()
getPropertyNames
public java.lang.String[] getPropertyNames(java.lang.Object pageContext)
- Description copied from interface:
org.apache.commons.jxpath.DynamicPropertyHandler
- Returns a list of dynamic property names for the supplied object.
- Specified by:
getPropertyNames in interface org.apache.commons.jxpath.DynamicPropertyHandler
getProperty
public java.lang.Object getProperty(java.lang.Object pageContext,
java.lang.String property)
- Returns
pageContext.findAttribute(property).
- Specified by:
getProperty in interface org.apache.commons.jxpath.DynamicPropertyHandler
setProperty
public void setProperty(java.lang.Object pageContext,
java.lang.String property,
java.lang.Object value)
- Description copied from interface:
org.apache.commons.jxpath.DynamicPropertyHandler
- Modifies the value of the specified dynamic property.
- Specified by:
setProperty in interface org.apache.commons.jxpath.DynamicPropertyHandler