this.attrs = attrs;
return attrs.length;
for (int i=0; i<attrs.length; i++) { if (attrs[i].getName().equals(name)) { return attrs[i]; } } return null;
for (int i=0; i<attrs.length; i++) { if (attrs[i].getName().equals(localName) && attrs[i].getNamespaceURI().equals(namespaceURI)) { return attrs[i]; } } return null;
if (index < 0 && index > getLength()) { return null; } return attrs[index];
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");