org.apache.cocoon.xml
Interface XMLizable

All Known Subinterfaces:
ModifiableSource, Source, XMLFragment

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.2.4 $ $Date: 2001/10/11 08:56:17 $
Author:
Sylvain Wallez

Method Summary
 void toSAX(org.xml.sax.ContentHandler handler)
          Generates SAX events representing the object's state.
 

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-2001 Apache Software Foundation. All Rights Reserved.