org.apache.commons.jxpath.servlet
Class ServletRequestHandler

java.lang.Object
  |
  +--org.apache.commons.jxpath.servlet.ServletRequestHandler
All Implemented Interfaces:
DynamicPropertyHandler

public class ServletRequestHandler
extends java.lang.Object
implements DynamicPropertyHandler

Implementation of the DynamicPropertyHandler interface that provides access to attributes of a ServletRequest.

Version:
$Revision: 1.3 $ $Date: 2003/01/11 05:41:26 $
Author:
Dmitri Plotnikov

Constructor Summary
ServletRequestHandler()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.Object request, java.lang.String property)
          Returns the value of the specified dynamic property.
 java.lang.String[] getPropertyNames(java.lang.Object request)
          Returns a list of dynamic property names for the supplied object.
 void setProperty(java.lang.Object request, 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

ServletRequestHandler

public ServletRequestHandler()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames(java.lang.Object request)
Description copied from interface: DynamicPropertyHandler
Returns a list of dynamic property names for the supplied object.
Specified by:
getPropertyNames in interface DynamicPropertyHandler

getProperty

public java.lang.Object getProperty(java.lang.Object request,
                                    java.lang.String property)
Description copied from interface: DynamicPropertyHandler
Returns the value of the specified dynamic property.
Specified by:
getProperty in interface DynamicPropertyHandler

setProperty

public void setProperty(java.lang.Object request,
                        java.lang.String property,
                        java.lang.Object value)
Description copied from interface: DynamicPropertyHandler
Modifies the value of the specified dynamic property.
Specified by:
setProperty in interface DynamicPropertyHandler


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.