org.apache.cocoon.xml
Interface XMLizable

All Known Subinterfaces:
ModifiableSource, Source, WriteableSource, XMLFragment
All Known Implementing Classes:
DelayedRefreshSourceWrapper

public interface XMLizable

This interface can be implemented by classes willing to provide an XML representation of their current state as SAX events.

Version:
CVS $Id: XMLizable.java,v 1.5 2002/02/22 07:03:58 cziegeler Exp $
Author:
Sylvain Wallez

Method Summary
 void toSAX(org.xml.sax.ContentHandler handler)
          Generates SAX events representing the object's state.
NOTE : if the implementation can produce lexical events, care should be taken that handler can actually be a XMLConsumer that accepts such events.
 

Method Detail

toSAX

public void toSAX(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException,
                  ProcessingException
Generates SAX events representing the object's state.
NOTE : if the implementation can produce lexical events, care should be taken that handler can actually be a XMLConsumer that accepts such events.


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