org.apache.avalon.composition.data.writer
Class XMLContainmentProfileWriter
java.lang.Object
org.apache.avalon.composition.data.writer.XMLComponentProfileWriter
org.apache.avalon.composition.data.writer.XMLContainmentProfileWriter
- public class XMLContainmentProfileWriter
- extends XMLComponentProfileWriter
Write ContainmentProfile
objects to a stream as xml documents.
- Version:
- $Revision: 1.1.1.2 $ $Date: 2004/05/19 09:30:07 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLContainmentProfileWriter
public XMLContainmentProfileWriter()
writeContainmentProfile
public void writeContainmentProfile(ContainmentProfile profile,
OutputStream output)
throws Exception
- Write out a containment profile to xml.
- Parameters:
profile
- the type objectoutput
- the stream to write to
- Throws:
Exception
- if unable to write xml
writeContainmentProfile
protected void writeContainmentProfile(Writer writer,
ContainmentProfile profile,
String pad)
throws Exception
- Write out a containment profile to xml.
- Parameters:
writer
- the stream to write toprofile
- the containment profile to writepad
- character offset
- Throws:
Exception
- if unable to write xml
writeContainmentProfile
protected void writeContainmentProfile(Writer writer,
ContainmentProfile profile,
boolean flag,
String pad)
throws Exception
- Write out a containment profile to xml.
- Parameters:
writer
- the stream to write toprofile
- the containment profile to writeflag
- not used !pad
- character offset
- Throws:
Exception
- if unable to write xml
Copyright © The Apache Software Foundation. All Rights Reserved.