View Javadoc

1   /*
2       Jameleon - An automation testing tool..
3       Copyright (C) 2003 Christian W. Hargraves (engrean@hotmail.com)
4       
5       This library is free software; you can redistribute it and/or
6       modify it under the terms of the GNU Lesser General Public
7       License as published by the Free Software Foundation; either
8       version 2.1 of the License, or (at your option) any later version.
9       This library is distributed in the hope that it will be useful,
10      but WITHOUT ANY WARRANTY; without even the implied warranty of
11      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12      Lesser General Public License for more details.
13      You should have received a copy of the GNU Lesser General Public
14      License along with this library; if not, write to the Free Software
15      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  */
17  package net.sf.jameleon;
18  import java.io.Serializable;
19  /***
20   * Used to be able to pass a generic XMLable interface through future logging
21   * wrapper methods.
22   */
23  public interface XMLable extends Serializable{
24      /***
25       * Implement this method the same way the <code>toString</code> method would be implemented, except
26       * the object's information should be in a valid XML format.
27       */
28      public String toXML();
29  }