Class LifecycleMappingsXpp3Writer

java.lang.Object
org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Writer

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

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • LifecycleMappingsXpp3Writer

      public LifecycleMappingsXpp3Writer()
  • Method Details

    • setFileComment

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

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

      public void write(OutputStream stream, LifecycleConfiguration lifecycleConfiguration) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      lifecycleConfiguration - a lifecycleConfiguration object.
      Throws:
      IOException - java.io.IOException if any.
    • writeExecution

      private void writeExecution(Execution execution, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeExecution.
      Parameters:
      execution - a execution object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeLifecycle

      private void writeLifecycle(Lifecycle lifecycle, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLifecycle.
      Parameters:
      lifecycle - a lifecycle object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeLifecycleConfiguration

      private void writeLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLifecycleConfiguration.
      Parameters:
      lifecycleConfiguration - a lifecycleConfiguration object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writePhase

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