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

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

public class XMLTypeWriter
extends Object
implements TypeWriter

Write Type objects to a stream as xml documents. TODO: Address configuration schema support

Version:
$Revision: 1.13 $ $Date: 2003/08/11 22:06:38 $
Author:
Avalon Development Team

Constructor Summary
XMLTypeWriter()
           
 
Method Summary
 void writeType(Type type, OutputStream outputStream)
          Write out type representation to xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTypeWriter

public XMLTypeWriter()
Method Detail

writeType

public void writeType(Type type,
                      OutputStream outputStream)
               throws Exception
Write out type representation to xml.

Specified by:
writeType in interface TypeWriter
Parameters:
type - the type object
outputStream - the stream to write to
Throws:
Exception - if unable to write xml


Copyright © Apache Software Foundation. All Rights Reserved.