Methods Summary |
---|
public void | clear()
throw new UnsupportedOperationException(UNSUPPORTED);
|
public boolean | containsKey(java.lang.Object key)
return (get(key) != null);
|
public boolean | containsValue(java.lang.Object value)
throw new UnsupportedOperationException(UNSUPPORTED);
|
public java.util.Set | entrySet()
return Collections.EMPTY_SET;
|
public java.lang.Object | get(java.lang.Object key)
PageContext pc = getPageContext();
if (pc == null) {
Map request = (Map) context.get("request");
Map session = (Map) context.get("session");
Map application = (Map) context.get("application");
if ((request != null) && (request.get(key) != null)) {
return request.get(key);
} else if ((session != null) && (session.get(key) != null)) {
return session.get(key);
} else if ((application != null) && (application.get(key) != null)) {
return application.get(key);
}
} else {
try{
return pc.findAttribute(key.toString());
}catch (NullPointerException npe){
return null;
}
}
return null;
|
private javax.servlet.jsp.PageContext | getPageContext()
return (PageContext) context.get(ServletActionContext.PAGE_CONTEXT);
|
public boolean | isEmpty()
throw new UnsupportedOperationException(UNSUPPORTED);
|
public java.util.Set | keySet()
return Collections.EMPTY_SET;
|
public java.lang.Object | put(java.lang.Object key, java.lang.Object value)
PageContext pc = getPageContext();
if (pc != null) {
pc.setAttribute(key.toString(), value);
}
return null;
|
public void | putAll(java.util.Map t)
throw new UnsupportedOperationException(UNSUPPORTED);
|
public java.lang.Object | remove(java.lang.Object key)
throw new UnsupportedOperationException(UNSUPPORTED);
|
public int | size()
throw new UnsupportedOperationException(UNSUPPORTED);
|
public java.util.Collection | values()
return Collections.EMPTY_SET;
|