org.apache.excalibur.xmlizer
Interface XMLizer
- All Known Implementing Classes:
- DefaultXMLizer
- public interface XMLizer
Converter for transforming any input stream with a given mime-type
into SAX events.
- Version:
- CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:34 $
- Author:
- Avalon Development Team
Method Summary |
void |
toSAX(InputStream stream,
String mimeType,
String systemID,
ContentHandler handler)
Generates SAX events from the given input stream
NOTE : if the implementation can produce lexical events, care should be taken
that handler can actually be a
XMLConsumer that accepts such
events or directly implements the LexicalHandler interface! |
ROLE
public static final String ROLE
toSAX
public void toSAX(InputStream stream,
String mimeType,
String systemID,
ContentHandler handler)
throws SAXException,
IOException
- Generates SAX events from the given input stream
NOTE : if the implementation can produce lexical events, care should be taken
that
handler
can actually be a
XMLConsumer
that accepts such
events or directly implements the LexicalHandler interface!
- Parameters:
stream
- the datamimeType
- the mime-type for the datasystemID
- the URI defining the data (this is optional and can be null)
SAXException
IOException
Copyright © 1997-2004 The Apache Software Foundation. All Rights Reserved.