1 package org.sapia.util.xml.confix; 2 3 4 // Import of Sapia's utility classes 5 // --------------------------------- 6 import org.sapia.util.xml.ProcessingException; 7 8 // Import of Sun's JDK classes 9 // --------------------------- 10 import java.io.InputStream; 11 12 13 /** 14 * Specifies the common "public" behavior of all XML processor - that 15 * transform a XML configuration in to an object graph. 16 * 17 * @author JC Desrochers. 18 * 19 * <dl> 20 * <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> 21 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the 22 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt> 23 * </dl> 24 */ 25 public interface ConfixProcessorIF { 26 /** 27 * This method takes an XML stream as input and returns an object 28 * representation of the passed-in XML. 29 * 30 * @param is an XML stream 31 * @return an object representation of the XML stream. 32 * @throws ProcessingException 33 */ 34 public Object process(InputStream is) throws ProcessingException; 35 } 36