|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jxpath.servlet.PageScopeContext
public class PageScopeContext
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.
| Constructor Summary | |
|---|---|
PageScopeContext(PageContext pageContext)
Create a new PageScopeContext. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageScopeContext(PageContext pageContext)
pageContext - base| Method Detail |
|---|
public Enumeration getAttributeNames()
public Object getAttribute(String attribute)
attribute - name
public void setAttribute(String attribute,
Object value)
attribute - to setvalue - to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||