public Attr getAttributeNode(String name) { Attr attr = element.getAttributeNode(name); return (attr == null) ? null : new AttrImpl(this, attr); }
public Attr getAttributeNodeNS(String namespaceURI, String localName) { /* FIXME We really need to do more than just return an object wrapper. * All Attrs should be stored as nodes on our local tree, so that * they are discovered during node traversal calls. */ Attr attr = element.getAttributeNodeNS(namespaceURI, localName); return (attr == null) ? null : new AttrImpl(this, attr); }