Class PluginRegistryXpp3Writer

java.lang.Object
org.apache.maven.plugin.registry.io.xpp3.PluginRegistryXpp3Writer

public class PluginRegistryXpp3Writer extends Object
Class PluginRegistryXpp3Writer.
Version:
$Revision$ $Date$
  • Field Details

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • PluginRegistryXpp3Writer

      public PluginRegistryXpp3Writer()
  • Method Details

    • setFileComment

      public void setFileComment(String fileComment)
      Method setFileComment.
      Parameters:
      fileComment - a fileComment object.
    • write

      public void write(Writer writer, PluginRegistry pluginRegistry) throws IOException
      Method write.
      Parameters:
      writer - a writer object.
      pluginRegistry - a pluginRegistry object.
      Throws:
      IOException - java.io.IOException if any.
    • write

      public void write(OutputStream stream, PluginRegistry pluginRegistry) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      pluginRegistry - a pluginRegistry object.
      Throws:
      IOException - java.io.IOException if any.
    • writePlugin

      private void writePlugin(Plugin plugin, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePlugin.
      Parameters:
      plugin - a plugin object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writePluginRegistry

      private void writePluginRegistry(PluginRegistry pluginRegistry, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePluginRegistry.
      Parameters:
      pluginRegistry - a pluginRegistry object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeTrackableBase

      private void writeTrackableBase(TrackableBase trackableBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeTrackableBase.
      Parameters:
      trackableBase - a trackableBase object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.