public class PageScopeContext extends Object
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.Constructor and Description |
---|
PageScopeContext(PageContext pageContext)
Create a new PageScopeContext.
|
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute)
Get the value of the specified attribute.
|
Enumeration |
getAttributeNames()
Returns attributes of the pageContext declared in the "page" scope.
|
void |
setAttribute(String attribute,
Object value)
Set the specified attribute.
|
public PageScopeContext(PageContext pageContext)
pageContext
- basepublic Enumeration getAttributeNames()
public Object getAttribute(String attribute)
attribute
- namepublic void setAttribute(String attribute, Object value)
attribute
- to setvalue
- to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.