org.apache.cocoon.components.sax
Interface XMLSerializer

All Superinterfaces:
Component, ContentHandler, LexicalHandler, XMLConsumer
All Known Implementing Classes:
XMLByteStreamCompiler

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

Field Summary
static String ROLE
           
 
Method Summary
 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

static final String ROLE
Method Detail

getSAXFragment

Object getSAXFragment()
Get the serialized xml data

Returns:
The serialized xml data.


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