1 package org.sapia.util.xml.confix; 2 3 4 /** 5 * An instance of this interface handles objects that corresponds to given XML 6 * elements. 7 * 8 * @author JC Desrochers 9 * 10 * <dl> 11 * <dt><b>Copyright:</b><dd>Copyright © 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt> 12 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the 13 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt> 14 * </dl> 15 */ 16 public interface ObjectHandlerIF { 17 /** 18 * Handles the passed in object that was created for the element name passed in. 19 * 20 * @param anElementName The xml element name for which the object was created. 21 * @param anObject The object to handle. 22 * 23 * @throws ConfigurationException if this instance does not "know" (cannot handle) the 24 * passed in object/element name. 25 */ 26 public void handleObject(String anElementName, Object anObject) 27 throws ConfigurationException; 28 } 29