01: package abbot.script;
02:
03: import org.jdom.Element;
04:
05: public interface XMLifiable {
06: /** Provide an XML representation of the object. */
07: Element toXML();
08:
09: /** Provide an editable string representation of the object. Usually will
10: be a String form of the XML, but may be something simpler if it
11: doesn't make sense to provide the full XML.
12: */
13: String toEditableString();
14: }
|