org.apache.avalon.excalibur.xml
Interface XMLizable

All Known Implementing Classes:
ResourceSource, URLSource

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.3 $ $Date: 2001/12/11 09:53:38 $
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 or directly implements the LexicalHandler interface!
 

Method Detail

toSAX

public void toSAX(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException
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 or directly implements the LexicalHandler interface!


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.