org.apache.cocoon.components.sax
Interface XMLSerializer

All Superinterfaces:
org.apache.avalon.framework.component.Component, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, XMLConsumer
All Known Implementing Classes:
XMLByteStreamCompiler

public interface XMLSerializer
extends XMLConsumer, org.apache.avalon.framework.component.Component

This interfaces identifies classes that serialize XML data, receiving notification of SAX events.
It's beyond the scope of this interface to specify the format for the serialized data.

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

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.lang.Object getSAXFragment()
          Get the serialized xml data
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

getSAXFragment

public java.lang.Object getSAXFragment()
Get the serialized xml data
Returns:
The serialized xml data.


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