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.1.1.1 $ $Date: 2003/07/10 12:10:18 $
- 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 © Apache Software Foundation. All Rights Reserved.