KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > confix > JDOMHandlerIF


1 package org.sapia.util.xml.confix;
2
3 import org.jdom.Element;
4
5
6 /**
7  * This interface defines the behavior that should be implemented by classes whose
8  * objects "consume" XML.
9  * <p>
10  * This interface binds implementations to the JDOM api; using the <code>XMLConsumer</code>
11  * interface is preferrable.
12  *
13  * @see org.sapia.util.xml.confix.XMLConsumer
14  *
15  * @author Yanick Duchesne
16  *
17  * <dl>
18  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
19  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
20  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
21  * </dl>
22  */

23 public interface JDOMHandlerIF {
24   /**
25    * Call-back that is invoked by a <code>JDOMProcessor</code>.
26    *
27    * @param elem a JDOM <code>Element</code>.
28    */

29   public void handleElement(Element elem) throws ConfigurationException;
30 }
31
Popular Tags