Class AntrunXmlPlexusConfigurationWriter


  • class AntrunXmlPlexusConfigurationWriter
    extends java.lang.Object
    Write the Ant target Plexus configuration to an XML file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Set<java.lang.String> EXCLUDED_ATTRIBUTES  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(org.codehaus.plexus.configuration.PlexusConfiguration configuration, java.io.File file, java.lang.String customTaskPrefix, java.lang.String antTargetName)  
      private void write​(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)  
      private void writeAttributes​(org.codehaus.plexus.configuration.PlexusConfiguration c, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)  
      • Methods inherited from class java.lang.Object

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

      • EXCLUDED_ATTRIBUTES

        private static final java.util.Set<java.lang.String> EXCLUDED_ATTRIBUTES
    • Constructor Detail

      • AntrunXmlPlexusConfigurationWriter

        AntrunXmlPlexusConfigurationWriter()
    • Method Detail

      • write

        public void write​(org.codehaus.plexus.configuration.PlexusConfiguration configuration,
                          java.io.File file,
                          java.lang.String customTaskPrefix,
                          java.lang.String antTargetName)
                   throws java.io.IOException
        Parameters:
        configuration - PlexusConfiguration
        file - File to write the Plexus configuration to.
        customTaskPrefix - Prefix to use for the custom Ant tasks. Empty if no prefix should be used.
        antTargetName - Name of the default Ant target.
        Throws:
        java.io.IOException - In case of problems.
      • write

        private void write​(org.codehaus.plexus.configuration.PlexusConfiguration c,
                           org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAttributes

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