|
||||||||||
| 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(HashSet set,
Object bean)
Collect the property names from bean, storing in set. |
Object |
getProperty(Object context,
String property)
Returns the value of the specified dynamic property. |
String[] |
getPropertyNames(Object context)
Returns a list of dynamic property names for the supplied object. |
void |
setProperty(Object context,
String property,
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 String[] getPropertyNames(Object context)
DynamicPropertyHandler
getPropertyNames in interface DynamicPropertyHandlercontext - to inspect
protected void collectPropertyNames(HashSet set,
Object bean)
set - destinationbean - to read
public Object getProperty(Object context,
String property)
DynamicPropertyHandler
getProperty in interface DynamicPropertyHandlercontext - to searchproperty - to retrieve
public void setProperty(Object context,
String property,
Object value)
DynamicPropertyHandler
setProperty in interface DynamicPropertyHandlercontext - to modifyproperty - to modifyvalue - to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||