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

java.lang.Object
  extended byorg.apache.avalon.composition.data.writer.XMLDeploymentProfileWriter
Direct Known Subclasses:
XMLContainmentProfileWriter

public class XMLDeploymentProfileWriter
extends Object

Write a DeploymentProfile to a stream as xml documents.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/08/31 14:30:03 $
Author:
Avalon Development Team

Field Summary
static String INDENT
           
 
Constructor Summary
XMLDeploymentProfileWriter()
           
 
Method Summary
protected  void writeCategories(Writer writer, CategoriesDirective categories, String pad)
          Write out xml representation of the logging categories
protected  void writeDeploymentBody(Writer writer, DeploymentProfile profile, String pad)
          Write out a containment deployment content.
protected  void writeDeploymentProfile(Writer writer, DeploymentProfile profile, String pad)
          Write out a containment deployment profile to XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDENT

public static final String INDENT
See Also:
Constant Field Values
Constructor Detail

XMLDeploymentProfileWriter

public XMLDeploymentProfileWriter()
Method Detail

writeDeploymentProfile

protected void writeDeploymentProfile(Writer writer,
                                      DeploymentProfile profile,
                                      String pad)
                               throws Exception
Write out a containment deployment profile to XML.

Parameters:
writer - the writer
Throws:
IOException - if unable to write xml
Exception

writeDeploymentBody

protected void writeDeploymentBody(Writer writer,
                                   DeploymentProfile profile,
                                   String pad)
                            throws Exception
Write out a containment deployment content.

Parameters:
writer - the writer
Throws:
IOException - if unable to write xml
Exception

writeCategories

protected void writeCategories(Writer writer,
                               CategoriesDirective categories,
                               String pad)
                        throws IOException
Write out xml representation of the logging categories

Parameters:
writer - the writer
categories - the logging categopries directive
Throws:
IOException - if unable to write xml


Copyright © Apache Software Foundation. All Rights Reserved.