org.codehaus.metaclass.io
Class SAXMetaClassSerializer

java.lang.Object
  extended byorg.codehaus.metaclass.io.SAXMetaClassSerializer

public class SAXMetaClassSerializer
extends java.lang.Object

Utility class that serializes a ClassDescriptor object to a SAX2 compliant ContentHandler.

Version:
$Revision: 1.10 $ $Date: 2003/11/27 08:09:53 $
Author:
Peter Donald

Constructor Summary
SAXMetaClassSerializer()
           
 
Method Summary
 void serialize(org.xml.sax.ContentHandler handler, ClassDescriptor descriptor)
          Serialize the ClassDescriptor to as a Document to the specified ContentHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXMetaClassSerializer

public SAXMetaClassSerializer()
Method Detail

serialize

public void serialize(org.xml.sax.ContentHandler handler,
                      ClassDescriptor descriptor)
               throws org.xml.sax.SAXException
Serialize the ClassDescriptor to as a Document to the specified ContentHandler.

Parameters:
handler - the handler
descriptor - the ClassDescriptor
Throws:
org.xml.sax.SAXException - if error during serilization


Copyright © 2003-2004 Codehaus. All Rights Reserved.