org.apache.commons.jxpath.servlet
Class PageScopeContext
java.lang.Object
org.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.
$Revision: 1.5 $ $Date: 2004/02/29 14:17:40 $
PageScopeContext
public PageScopeContext(PageContext pageContext)
getAttribute
public Object getAttribute(String attribute)
getAttributeNames
public Enumeration getAttributeNames()
Returns attributes of the pageContext declared in the "page" scope.
setAttribute
public void setAttribute(String attribute,
Object value)