/**
* @see org.apache.ws.commons.om.OMElement#getAllAttributes()
*/
public Iterator getAllAttributes() {
if (attributes == null) {
return new EmptyIterator();
}
ArrayList list = new ArrayList();
for (int i = 0; i < attributes.getLength(); i++) {
list.add(attributes.getItem(i));
}