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