code: public static Element declareInstance(ComponentWorkbench workbench) {
          Element instance = new Element("instance", "");
          instance.addAttribute(new Attribute(COMPONENT, workbench.getType().getClassName()));
          return instance;
      }
docs: Declares an instance.
  
  @param workbench the workbench
  @return the Instance element