org.apache.avalon.composition.data.writer
Class XMLContainmentProfileWriter
java.lang.Object
org.apache.avalon.composition.data.writer.XMLDeploymentProfileWriter
org.apache.avalon.composition.data.writer.XMLContainmentProfileWriter
- public class XMLContainmentProfileWriter
- extends XMLDeploymentProfileWriter
Write ContainmentProfile
objects to a stream as xml documents.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/31 14:30:03 $
- 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 © Apache Software Foundation. All Rights Reserved.