|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.servlet.ServletContextHandler
public class ServletContextHandler
Implementation of the DynamicPropertyHandler
interface that provides
access to attributes of a ServletContext
.
Constructor Summary | |
---|---|
ServletContextHandler()
|
Method Summary | |
---|---|
protected void |
collectPropertyNames(java.util.HashSet set,
java.lang.Object bean)
Collect the property names from bean, storing in set. |
java.lang.Object |
getProperty(java.lang.Object context,
java.lang.String property)
Returns the value of the specified dynamic property. |
java.lang.String[] |
getPropertyNames(java.lang.Object context)
Returns a list of dynamic property names for the supplied object. |
void |
setProperty(java.lang.Object context,
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 |
---|
public ServletContextHandler()
Method Detail |
---|
public java.lang.String[] getPropertyNames(java.lang.Object context)
DynamicPropertyHandler
getPropertyNames
in interface DynamicPropertyHandler
context
- to inspect
protected void collectPropertyNames(java.util.HashSet set, java.lang.Object bean)
set
- destinationbean
- to readpublic java.lang.Object getProperty(java.lang.Object context, java.lang.String property)
DynamicPropertyHandler
getProperty
in interface DynamicPropertyHandler
context
- to searchproperty
- to retrieve
public void setProperty(java.lang.Object context, java.lang.String property, java.lang.Object value)
DynamicPropertyHandler
setProperty
in interface DynamicPropertyHandler
context
- to modifyproperty
- to modifyvalue
- to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |