mirceatoma 2002/12/06 14:09:45 Modified: xmlutil/src/java/org/apache/excalibur/xmlizer XMLizer.java Log: Removed dependency on org.apache.avalon.framework.component package. Revision Changes Path 1.7 +5 -10 jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xmlizer/XMLizer.java Index: XMLizer.java =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xmlizer/XMLizer.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XMLizer.java 7 Nov 2002 04:43:43 -0000 1.6 +++ XMLizer.java 6 Dec 2002 22:09:45 -0000 1.7 @@ -7,12 +7,10 @@ */ package org.apache.excalibur.xmlizer; -import java.io.IOException; -import java.io.InputStream; -import org.apache.avalon.framework.component.Component; -import org.apache.avalon.framework.component.ComponentException; import org.xml.sax.ContentHandler; import org.xml.sax.SAXException; +import java.io.IOException; +import java.io.InputStream; /** * Converter for transforming any input stream with a given mime-type @@ -22,7 +20,6 @@ * @version CVS $Revision$ $Date$ */ public interface XMLizer - extends Component { String ROLE = XMLizer.class.getName(); @@ -30,18 +27,16 @@ * Generates SAX events from the given input stream * <b>NOTE</b> : if the implementation can produce lexical events, care should be taken * that <code>handler</code> can actually be a - * [EMAIL PROTECTED] org.apache.avalon.excalibur.xml.XMLConsumer} that accepts such + * [EMAIL PROTECTED] org.apache.excalibur.xml.sax.XMLConsumer} that accepts such * events or directly implements the LexicalHandler interface! * @param stream the data * @param mimeType the mime-type for the data * @param systemID the URI defining the data (this is optional and can be null) - * @throws ComponentException if no suitable converter is found - * @todo Remove ComponentException as it has no place being part of the worker interface */ void toSAX( InputStream stream, String mimeType, String systemID, ContentHandler handler ) - throws SAXException, IOException, ComponentException; + throws SAXException, IOException; }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>