code: public void addNodelet(String xpath, NodeletAdder nodeletAdder) {
          nodeletAdder.add(xpath, this);
          setXpath(xpath);
      }
docs: Adds the nodelet.
  
  @param xpath the xpath
  @param nodeletAdder the nodelet adder