org.apache.avalon.meta.info.writer
Class SerializedTypeWriter

java.lang.Object
  extended byorg.apache.avalon.meta.info.writer.SerializedTypeWriter
All Implemented Interfaces:
TypeWriter

public class SerializedTypeWriter
extends Object
implements TypeWriter

Write Type objects to a stream as serialized objects.

Version:
$Revision: 1.3 $ $Date: 2003/07/15 21:26:35 $
Author:
Avalon Development Team

Constructor Summary
SerializedTypeWriter()
           
 
Method Summary
 void writeType(Type type, OutputStream stream)
          Write a Type to a stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedTypeWriter

public SerializedTypeWriter()
Method Detail

writeType

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

Specified by:
writeType in interface TypeWriter
Parameters:
type - the meta info Type instance
stream - the destination stream
Throws:
Exception - if an error occurs while writting to the stream


Copyright © Apache Software Foundation. All Rights Reserved.