Class PluginMetadataXpp3Writer


  • public class PluginMetadataXpp3Writer
    extends java.lang.Object
    Class PluginMetadataXpp3Writer.
    Version:
    $Revision$ $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String fileComment
      Field fileComment.
      private static java.lang.String NAMESPACE
      Field NAMESPACE.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setFileComment​(java.lang.String fileComment)
      Method setFileComment.
      void write​(java.io.OutputStream stream, PluginMetadata pluginMetadata)
      Method write.
      void write​(java.io.Writer writer, PluginMetadata pluginMetadata)
      Method write.
      private void writeComponent​(Component component, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeComponent.
      private void writeLifecycleExecution​(LifecycleExecution lifecycleExecution, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeLifecycleExecution.
      private void writeMojo​(Mojo mojo, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeMojo.
      private void writeParameter​(Parameter parameter, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeParameter.
      private void writePluginMetadata​(PluginMetadata pluginMetadata, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writePluginMetadata.
      • Methods inherited from class java.lang.Object

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

      • NAMESPACE

        private static final java.lang.String NAMESPACE
        Field NAMESPACE.
      • fileComment

        private java.lang.String fileComment
        Field fileComment.
    • Constructor Detail

      • PluginMetadataXpp3Writer

        public PluginMetadataXpp3Writer()
    • Method Detail

      • setFileComment

        public void setFileComment​(java.lang.String fileComment)
        Method setFileComment.
        Parameters:
        fileComment -
      • write

        public void write​(java.io.Writer writer,
                          PluginMetadata pluginMetadata)
                   throws java.io.IOException
        Method write.
        Parameters:
        writer -
        pluginMetadata -
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.OutputStream stream,
                          PluginMetadata pluginMetadata)
                   throws java.io.IOException
        Method write.
        Parameters:
        stream -
        pluginMetadata -
        Throws:
        java.io.IOException
      • writeComponent

        private void writeComponent​(Component component,
                                    java.lang.String tagName,
                                    org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                             throws java.io.IOException
        Method writeComponent.
        Parameters:
        component -
        serializer -
        tagName -
        Throws:
        java.io.IOException
      • writeLifecycleExecution

        private void writeLifecycleExecution​(LifecycleExecution lifecycleExecution,
                                             java.lang.String tagName,
                                             org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                                      throws java.io.IOException
        Method writeLifecycleExecution.
        Parameters:
        lifecycleExecution -
        serializer -
        tagName -
        Throws:
        java.io.IOException
      • writeMojo

        private void writeMojo​(Mojo mojo,
                               java.lang.String tagName,
                               org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                        throws java.io.IOException
        Method writeMojo.
        Parameters:
        mojo -
        serializer -
        tagName -
        Throws:
        java.io.IOException
      • writeParameter

        private void writeParameter​(Parameter parameter,
                                    java.lang.String tagName,
                                    org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                             throws java.io.IOException
        Method writeParameter.
        Parameters:
        parameter -
        serializer -
        tagName -
        Throws:
        java.io.IOException
      • writePluginMetadata

        private void writePluginMetadata​(PluginMetadata pluginMetadata,
                                         java.lang.String tagName,
                                         org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                                  throws java.io.IOException
        Method writePluginMetadata.
        Parameters:
        pluginMetadata -
        serializer -
        tagName -
        Throws:
        java.io.IOException