class GwtDOMHandler {

    public Attr setAttributeNodeNS(final Node element,
                                   final Attr attr) {
        if (attr instanceof GwtDOMAttr) {
            ((GwtDOMAttr) attr).setNode(element);
        }
        return setAttributeNS(element,
                              attr.getNamespaceURI(),
                              attr.getName(),
                              attr.getValue());
    }

    public  GwtDOMHandler(final Document document);

}