org.apache.avalon.meta.info.writer
Class XMLServiceWriter
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLServiceWriter
public XMLServiceWriter()
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 instancestream
- the stream to write to
- Throws:
Exception
- if unable to write xml
Copyright © The Apache Software Foundation. All Rights Reserved.