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

java.lang.Object
  extended byorg.apache.avalon.meta.info.writer.XMLServiceWriter
All Implemented Interfaces:
ServiceWriter

public class XMLServiceWriter
extends Object
implements ServiceWriter

Write Service objects to a stream as xml documents.

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

Constructor Summary
XMLServiceWriter()
           
 
Method Summary
 void writeService(Service service, OutputStream stream)
          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

XMLServiceWriter

public XMLServiceWriter()
Method Detail

writeService

public void writeService(Service service,
                         OutputStream stream)
                  throws Exception
Write out type representation to xml.

Specified by:
writeService in interface ServiceWriter
Parameters:
service - the service descriptor instance
stream - the stream to write to
Throws:
Exception - if unable to write xml


Copyright © The Apache Software Foundation. All Rights Reserved.