Class MavenXpp3Writer

java.lang.Object
org.apache.maven.model.v4.MavenXpp3Writer

@Generated public class MavenXpp3Writer extends Object
  • Constructor Details

    • MavenXpp3Writer

      public MavenXpp3Writer()
  • Method Details

    • setFileComment

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

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

      public void write(OutputStream stream, Model model) throws IOException
      Method write.
      Parameters:
      stream - a stream object
      model - a Model object
      Throws:
      IOException - java.io.IOException if any
    • writeDomToSerializer

      protected void writeDomToSerializer(XmlNode dom, XmlSerializer serializer) throws IOException
      Method writeDomToSerializer.
      Parameters:
      dom - a dom object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.