org.apache.cocoon.components.sax
Class XMLByteStreamInterpreter
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.components.sax.XMLByteStreamInterpreter
- All Implemented Interfaces:
- LogEnabled, Poolable, Recyclable, XMLDeserializer, XMLProducer
- public final class XMLByteStreamInterpreter
- extends AbstractXMLProducer
- implements XMLDeserializer, Recyclable
This a simple xml compiler which takes a byte array as input.
- Version:
- CVS $Id: XMLByteStreamInterpreter.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Stefano Mazzocchi, Carsten Ziegeler, Torsten Curdt
Method Summary |
void |
deserialize(Object saxFragment)
Deserialize the xml data and stream it. |
protected int |
readEvent()
|
void |
recycle()
Recycle the producer by removing references, and resetting handlers to
null (empty) implementations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLByteStreamInterpreter
public XMLByteStreamInterpreter()
recycle
public void recycle()
- Description copied from class:
AbstractXMLProducer
- Recycle the producer by removing references, and resetting handlers to
null (empty) implementations.
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class AbstractXMLProducer
deserialize
public void deserialize(Object saxFragment)
throws SAXException
- Description copied from interface:
XMLDeserializer
- Deserialize the xml data and stream it.
- Specified by:
deserialize
in interface XMLDeserializer
- Parameters:
saxFragment
- The xml data.
- Throws:
SAXException
readEvent
protected int readEvent()
throws SAXException
- Throws:
SAXException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.