|
|||||||||
| Home >> All >> org >> apache >> commons >> jxpath >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.jxpath.servlet
Class PageScopeContext

java.lang.Objectorg.apache.commons.jxpath.servlet.PageScopeContext
- public class PageScopeContext
- extends java.lang.Object
A lightweight wrapper for PageContext that restricts access to attributes of the "page" scope. This object is needed so that XPath "foo" would lookup the attribute "foo" in all scopes, while "$page/foo" would only look in the "page" scope.
- Version:
- $Revision: 1.5 $ $Date: 2004/02/29 14:17:40 $
| Field Summary | |
private javax.servlet.jsp.PageContext |
pageContext
|
| Constructor Summary | |
PageScopeContext(javax.servlet.jsp.PageContext pageContext)
|
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attribute)
|
java.util.Enumeration |
getAttributeNames()
Returns attributes of the pageContext declared in the "page" scope. |
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
pageContext
private javax.servlet.jsp.PageContext pageContext
| Constructor Detail |
PageScopeContext
public PageScopeContext(javax.servlet.jsp.PageContext pageContext)
| Method Detail |
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Returns attributes of the pageContext declared in the "page" scope.
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
setAttribute
public void setAttribute(java.lang.String attribute, java.lang.Object value)
|
|||||||||
| Home >> All >> org >> apache >> commons >> jxpath >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.commons.jxpath.servlet.PageScopeContext