word.api.interfaces.IElement Maven / Gradle / Ivy
The newest version!
package word.api.interfaces;
/**
* @author leonardo_correa
* Interface implemented by all Elements of the API. This is the minimal required.
*
* The class which implements this method can have others helper methods
*
*/
public interface IElement {
/**
* This method returns the content (XML or HTML) of the Element and the content.
* If you are using W2004, the return will be the XML required to generate the element.
*
* Important: Once you call this method, the Document value is cached an no elements can be added later.
*
* @return this is the String value of the element ready to be appended/inserted in the Document.
*
* This is the XML that generates a BreakLine
:
*
*
*
*/
public String getContent();
}