36373839404142
public Object getAttribute(String s) { return attributes.get(s); } public Enumeration getAttributeNames() { return (new IteratorEnumeration(attributes.keySet().iterator())); }
979899100101102103
public Enumeration getProjectURLs() { if ( projectMap == null ) { return null; } return new IteratorEnumeration( projectMap.values().iterator() ); }
727728729730731732733
*/ public static Enumeration asEnumeration(Iterator iterator) { if (iterator == null) { throw new NullPointerException("Iterator must not be null"); } return new IteratorEnumeration(iterator); }
675676677678679680681
} }; } return new IteratorEnumeration(list.iterator()); }
133134135136137138139
* Get all parameter names. * * @return Enumeration for the (String) parameter names. */ public Enumeration getParameterNames() { return new IteratorEnumeration(values.keySet().iterator()); }
458459460461462463464
public void removeAttribute(String name) { this.attributes.remove(name); } public Enumeration getAttributeNames() { return new IteratorEnumeration(this.attributes.keySet().iterator()); }
7879808182838485868788
*/ public Enumeration getEnumeration() throws JMSException { try { return new IteratorEnumeration(queue.getMessages(factory, selector).iterator()); } catch (IOException e) { throw new HermesException(e); }
323324325326327328329330331332333
// TODO Auto-generated method stub } public Enumeration getEnumeration() throws JMSException { return new IteratorEnumeration(messages.iterator()) ; } public String getMessageSelector() throws JMSException { return dConfig.getSelector() ;
196197198199200201202
* * @see javax.jms.MapMessage#getMapNames() */ public Enumeration getMapNames() throws JMSException { return new IteratorEnumeration(body.keySet().iterator()); }
322323324325326327328
* * @see javax.jms.Message#getPropertyNames() */ public Enumeration getPropertyNames() throws JMSException { return new IteratorEnumeration(header.keySet().iterator()); }