org.apache.cocoon.components.sax
Interface XMLDeserializer

All Superinterfaces:
Component, XMLProducer
All Known Implementing Classes:
XMLByteStreamInterpreter

public interface XMLDeserializer
extends XMLProducer, 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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

Field Detail

ROLE

static final String ROLE
Method Detail

deserialize

void deserialize(Object saxFragment)
                 throws SAXException
Deserialize the xml data and stream it.

Parameters:
saxFragment - The xml data.
Throws:
SAXException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.