org.apache.avalon.composition.data.writer
Class XMLDeploymentProfileWriter
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT
public static final String INDENT
- See Also:
- Constant Field Values
XMLDeploymentProfileWriter
public XMLDeploymentProfileWriter()
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 writercategories
- the logging categopries directive
- Throws:
IOException
- if unable to write xml
Copyright © Apache Software Foundation. All Rights Reserved.