FreeHEP API
Version v1.1

org.freehep.preview
Interface XMLIO

All Superinterfaces:
org.xml.sax.ContentHandler

public interface XMLIO
extends org.xml.sax.ContentHandler

Persistency through XML. Implementing this interface, the class guarantees to be persistent. The output/input of the persistency is marked up in XML.

Version:
$Id: XMLIO.java,v 1.4 2000/11/01 13:51:47 duns Exp $
Author:
Mark Donszelmann, Tony Johnson

Method Summary
 void writeXML(XMLWriter writer)
          Called to write this object out as XML.
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Method Detail

writeXML

public void writeXML(XMLWriter writer)
              throws Exception
Called to write this object out as XML. The implementing class is supposed to save all state information to be able to re-create the same object in the same state afterwards.

Parameters:
writer - used to write xml documents, or to hand it a node to write out a partial dom tree.
Throws:
Exception - may throw any exception.

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.