General purpose Enumeration wrapper around an Iterator specified to our controller.
Enumeration
Iterator
164165166167168169170
} } public Enumeration getHeaderNames() { return (new MockEnumeration(headers.keySet().iterator())); }
177178179180181182183
} List list = new ArrayList(); for (int i = 0; i < headers.length; i++) { list.add(headers[i]); } return (new MockEnumeration(list.iterator())); }
304305306307308309310
return (attributes.get(name)); } public Enumeration getAttributeNames() { return (new MockEnumeration(attributes.keySet().iterator())); }
369370371372373374375
return (parameters); } public Enumeration getParameterNames() { return (new MockEnumeration(parameters.keySet().iterator())); }
152153154155156157158
public Object getAttribute(String name) { return attributes.get(name); } public Enumeration getAttributeNames() { return new MockEnumeration(attributes.keySet().iterator()); }
185186187188189190191
public Map getParameterMap() { return parameters; } public Enumeration getParameterNames() { return new MockEnumeration(parameters.keySet().iterator()); }
229230231232233234235
return null; } } public Enumeration getPropertyNames() { return new MockEnumeration(properties.keySet().iterator()); }
74757677787980
* Get the init parameter names. * * @return the set of parameter names */ public Enumeration getInitParameterNames() { return (new MockEnumeration(parameters.keySet().iterator())); }
90919293949596
return getAttributeNames(PortletSession.PORTLET_SCOPE); } public Enumeration getAttributeNames(int scope) { accessed(); return new MockEnumeration(getScope(scope).keySet().iterator()); }
63646566676869