public boolean hasAttribute(String name) { return indexOfAttribute(name) != -1; }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public Attr setAttributeNode(Attr newAttr) throws DOMException { AttrImpl newAttrImpl = (AttrImpl) newAttr; if (newAttrImpl.document != this.document) { throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); } if (newAttrImpl.getOwnerElement() != null) { throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, null); } AttrImpl oldAttrImpl = null; int i = indexOfAttribute(newAttr.getName()); if (i != -1) { oldAttrImpl = attributes.get(i); attributes.remove(i); } attributes.add(newAttrImpl); newAttrImpl.ownerElement = this; return oldAttrImpl; }
public boolean hasAttribute(String name) { return indexOfAttribute(name) != -1; }
public boolean hasAttribute(String name) { return indexOfAttribute(name) != -1; }
public boolean hasAttribute(String name) { return indexOfAttribute(name) != -1; }
public boolean hasAttribute(String name) { return indexOfAttribute(name) != -1; }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public AttrImpl getAttributeNode(String name) { int i = indexOfAttribute(name); if (i == -1) { return null; } return attributes.get(i); }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }
public void removeAttribute(String name) throws DOMException { int i = indexOfAttribute(name); if (i != -1) { attributes.remove(i); } }