org.apache.excalibur.xml.sax
Interface XMLizable


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.4 $ $Date: 2004/02/28 11:47:20 $
Author:
Avalon Development Team

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
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!

Throws:
org.xml.sax.SAXException


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.