code: public Element createOrUpdateElement(Object parent, String name, String type, Style style) {
  		return createOrUpdateElement(parent, name, type, style, true);
  	}
docs: Create or update an element in the DOM. The id will be generated.
  
  @param parent
  the parent group
  @param name
  the local group name of the element (should be unique within the group)
  @param type
  the type of the element (tag name, e.g. 'image')
  @param style
  The style to apply on the element.
  @return the created or updated element or null if creation failed