1 package org.rundeck.api.generator; 2 3 import org.dom4j.Document; 4 import org.dom4j.Element; 5 6 /** 7 * XmlDocumentGenerator is ... 8 * 9 * @author greg 10 * @since 2014-02-27 11 */ 12 public interface XmlDocumentGenerator { 13 14 /** 15 * Generate the XML {@link org.dom4j.Node} 16 * 17 * @return any object holding the converted value 18 */ 19 Element generateXmlElement(); 20 /** 21 * Generate the XML {@link org.dom4j.Node} 22 * 23 * @param node 24 * 25 * @return any object holding the converted value 26 */ 27 Document generateXmlDocument(); 28 }