org.apache.cocoon.xml
Interface XMLizable

All Known Subinterfaces:
ModifiableSource, Source, 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 $Revision: 1.1 $ $Date: 2002/01/03 12:31:22 $
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.