org.apache.avalon.composition.data.writer
Class XMLContainmentProfileWriter

java.lang.Object
  extended byorg.apache.avalon.composition.data.writer.XMLComponentProfileWriter
      extended byorg.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

Field Summary
 
Fields inherited from class org.apache.avalon.composition.data.writer.XMLComponentProfileWriter
INDENT
 
Constructor Summary
XMLContainmentProfileWriter()
           
 
Method Summary
 void writeContainmentProfile(ContainmentProfile profile, OutputStream output)
          Write out a containment profile to xml.
protected  void writeContainmentProfile(Writer writer, ContainmentProfile profile, boolean flag, String pad)
          Write out a containment profile to xml.
protected  void writeContainmentProfile(Writer writer, ContainmentProfile profile, String pad)
          Write out a containment profile to xml.
 
Methods inherited from class org.apache.avalon.composition.data.writer.XMLComponentProfileWriter
writeCategories, writeComponentProfile, writeDeploymentBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLContainmentProfileWriter

public XMLContainmentProfileWriter()
Method Detail

writeContainmentProfile

public void writeContainmentProfile(ContainmentProfile profile,
                                    OutputStream output)
                             throws Exception
Write out a containment profile to xml.

Parameters:
profile - the type object
output - 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 to
profile - the containment profile to write
pad - 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 to
profile - the containment profile to write
flag - not used !
pad - character offset
Throws:
Exception - if unable to write xml


Copyright © The Apache Software Foundation. All Rights Reserved.