Class XMLConfigurationWriter

java.lang.Object
org.apache.rat.configuration.XMLConfigurationWriter

public class XMLConfigurationWriter extends Object
Writes the XML configuration file format.
  • Constructor Details

    • XMLConfigurationWriter

      public XMLConfigurationWriter(ReportConfiguration configuration)
      Constructor
      Parameters:
      configuration - the configuration information to write.
  • Method Details

    • write

      public void write(Writer plainWriter) throws RatException
      Writes the configuration to the specified writer.
      Parameters:
      plainWriter - a writer to write the XML to.
      Throws:
      RatException - on error.
    • write

      public void write(IXmlWriter writer) throws RatException
      Writes the configuration to an IXmlWriter instance.
      Parameters:
      writer - the IXmlWriter to write to.
      Throws:
      RatException - on error.