org.apache.cocoon.components.sax
Interface XMLDeserializer

All Superinterfaces:
org.apache.avalon.framework.component.Component, XMLProducer
All Known Implementing Classes:
XMLByteStreamInterpreter

public interface XMLDeserializer
extends XMLProducer, org.apache.avalon.framework.component.Component

This interfaces identifies classes that deserialize XML data, sending SAX events to the configured XMLConsumer (or SAX ContentHandler and LexicalHandler).
The production of the xml data is started by passing an the xml information to the deserialize method. It is beyond the scope of this interface to specify the format of the serialized data.

Version:
CVS $Id: XMLDeserializer.java,v 1.5 2002/02/22 07:00:12 cziegeler Exp $
Author:
Carsten Ziegeler

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void deserialize(java.lang.Object saxFragment)
          Deserialize the xml data and stream it.
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

deserialize

public void deserialize(java.lang.Object saxFragment)
                 throws org.xml.sax.SAXException
Deserialize the xml data and stream it.
Parameters:
saxFragment - The xml data.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.