code: public Node renameNode(Node arg0, String arg1, String arg2) throws DOMException {
  	// dynamic load to support jre 1.4 and 1.5
  	try {
  	    Method m = doc.getClass().getMethod("renameNode", new Class[] { arg0.getClass(), arg1.getClass(), arg2.getClass() });
  	    return Caster.toNode(m.invoke(doc, new Object[] { arg0, arg1, arg2 }));
  	}
  	catch (Exception e) {
  	    throw new PageRuntimeException(Caster.toPageException(e));
  	}
      }
docs: used only with java 7, do not set @Override