public Element generateSimpleElement(final Document document,final String rootName,final Object pojo,final String... attributes) throws ParserConfigurationException, IllegalAccessException, InstantiationException {
  return generateSimpleElement(document,rootName,pojo,Arrays.asList(attributes));
}

public Element generateSimpleElement ( final Document document , final String rootName , final Object pojo , final String ... attributes ) throws ParserConfigurationException , IllegalAccessException , InstantiationException { return generateSimpleElement ( document , rootName , pojo , Arrays . asList ( attributes ) ) ; }
generates an xml element from this pojo . translating the fields like described in the class description .
