package contrib; import org.jdom.Element; /** * @author Phill Perryman * * A class of this type may be provided to Elementx via it's * set descriptor method. It will be used instead of the * super.toString() method for displaying an element. * * This allows the visual representation of an element to * change without having to subclass Elementx * */ public interface ElementDescriptor { public String getDescription(Element e); }