@Override public Enumeration<String> getAttributeNames() { return wrapped.getAttributeNames(); }
/** * @see javax.servlet.ServletContext#getAttributeNames() */ public Enumeration getAttributeNames() { return portletContext.getAttributeNames(); }
@Override protected Enumeration<String> getPropertyNames() { return portletContext.getAttributeNames(); } }
@Override protected Enumeration<String> getPropertyNames() { return portletContext.getAttributeNames(); } }
@Override @SuppressWarnings("unchecked") protected Enumeration<String> getAttributeNames() { return _portletContext.getAttributeNames(); }
public Enumeration getAttributeNames() { return _ctx.getAttributeNames(); }
@SuppressWarnings("unchecked") @Override public Enumeration<String> getAttributeNames() { if (mPortletContext != null) { return mPortletContext.getAttributeNames(); } else { throw new IllegalArgumentException(ILLEGAL_ARGUMENT); } } }
public int size() { int n = 0; Enumeration keys = context.getAttributeNames(); while (keys.hasMoreElements()) { keys.nextElement(); n++; } return (n); }
/** {@inheritDoc} */ public int size() { int n = 0; Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { keys.nextElement(); n++; } return (n); }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") public int size() { int n = 0; Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { keys.nextElement(); n++; } return (n); }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") public Set<String> keySet() { Set<String> set = new HashSet<String>(); Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { set.add(keys.nextElement()); } return (set); }
/** {@inheritDoc} */ public Set<String> keySet() { Set<String> set = new HashSet<String>(); Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { set.add(keys.nextElement()); } return (set); }
public Set keySet() { Set set = new HashSet(); Enumeration keys = context.getAttributeNames(); while (keys.hasMoreElements()) { set.add(keys.nextElement()); } return (set); }
/** * Removes all entries from the Map and removes all attributes from the * portlet context. */ public void clear() { entries = null; Enumeration e = context.getAttributeNames(); while (e.hasMoreElements()) { context.removeAttribute(e.nextElement().toString()); } }
/** {@inheritDoc} */ public Collection<Object> values() { List<Object> list = new ArrayList<Object>(); Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { list.add(context.getAttribute(keys.nextElement())); } return (list); }
public Collection values() { List list = new ArrayList(); Enumeration keys = context.getAttributeNames(); while (keys.hasMoreElements()) { list.add(context.getAttribute((String) keys.nextElement())); } return (list); }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") public Collection<Object> values() { List<Object> list = new ArrayList<Object>(); Enumeration<String> keys = context.getAttributeNames(); while (keys.hasMoreElements()) { list.add(context.getAttribute(keys.nextElement())); } return (list); }
public Set entrySet() { Set set = new HashSet(); Enumeration keys = context.getAttributeNames(); String key; while (keys.hasMoreElements()) { key = (String)keys.nextElement(); set.add(new MapEntry(key, context.getAttribute(key), true)); } return (set); }
/** {@inheritDoc} */ public Set<Map.Entry<String, Object>> entrySet() { Set<Map.Entry<String, Object>> set = new HashSet<Map.Entry<String, Object>>(); Enumeration<String> keys = context.getAttributeNames(); String key; while (keys.hasMoreElements()) { key = keys.nextElement(); set.add(new MapEntry<String, Object>(key, context.getAttribute(key), true)); } return (set); }
/** {@inheritDoc} */ @SuppressWarnings("unchecked") public Set<Map.Entry<String, Object>> entrySet() { Set<Map.Entry<String, Object>> set = new HashSet<Map.Entry<String, Object>>(); Enumeration<String> keys = context.getAttributeNames(); String key; while (keys.hasMoreElements()) { key = keys.nextElement(); set.add(new MapEntry<String, Object>(key, context.getAttribute(key), true)); } return (set); }