org.apache.avalon.meta.info.writer
Interface TypeWriter

All Known Implementing Classes:
SerializedTypeWriter, XMLTypeWriter

public interface TypeWriter

Interface implemented by objects supporting the writing of a Type to an output stream.

Version:
$Revision: 1.2 $ $Date: 2004/02/21 13:27:04 $
Author:
Avalon Development Team

Method Summary
 void writeType(Type type, OutputStream stream)
          Write a Type to a stream
 

Method Detail

writeType

public void writeType(Type type,
                      OutputStream stream)
               throws Exception
Write a Type to a stream

Parameters:
type - the meta info Type instance
stream - the destination stream
Throws:
Exception - if an error occurs while writting to the stream


Copyright © The Apache Software Foundation. All Rights Reserved.