Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.jxpath.servlet
Class PageContextHandler  view PageContextHandler download PageContextHandler.java

java.lang.Object
  extended byorg.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 $

Constructor Summary
PageContextHandler()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.Object pageContext, java.lang.String property)
          Returns pageContext.findAttribute(property).
 java.lang.String[] getPropertyNames(java.lang.Object pageContext)
          Returns a list of dynamic property names for the supplied object.
 void setProperty(java.lang.Object pageContext, java.lang.String property, java.lang.Object value)
          Modifies the value of the specified dynamic property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageContextHandler

public PageContextHandler()
Method Detail

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