Class AntrunXmlPlexusConfigurationWriter


  • public class AntrunXmlPlexusConfigurationWriter
    extends java.lang.Object
    Write a plexus configuration to a stream Note: This class was originally copied from plexus-container-default. It is duplicated here to maintain compatibility with both Maven 2.x and Maven 3.x.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(org.codehaus.plexus.configuration.PlexusConfiguration configuration, java.io.Writer writer)  
      private void write​(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.XMLWriter w, int depth)  
      private void writeAttributes​(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.XMLWriter w)  
      private void writeTag​(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.XMLWriter w, int depth)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AntrunXmlPlexusConfigurationWriter

        public AntrunXmlPlexusConfigurationWriter()
    • Method Detail

      • write

        public void write​(org.codehaus.plexus.configuration.PlexusConfiguration configuration,
                          java.io.Writer writer)
                   throws java.io.IOException
        Parameters:
        configuration - PlexusConfiguration
        writer - Writer
        Throws:
        java.io.IOException - In case of problems.
      • write

        private void write​(org.codehaus.plexus.configuration.PlexusConfiguration c,
                           org.codehaus.plexus.util.xml.XMLWriter w,
                           int depth)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeTag

        private void writeTag​(org.codehaus.plexus.configuration.PlexusConfiguration c,
                              org.codehaus.plexus.util.xml.XMLWriter w,
                              int depth)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAttributes

        private void writeAttributes​(org.codehaus.plexus.configuration.PlexusConfiguration c,
                                     org.codehaus.plexus.util.xml.XMLWriter w)
                              throws java.io.IOException
        Throws:
        java.io.IOException