Class MavenToolchainsXpp3Writer

java.lang.Object
org.apache.maven.toolchain.v4.MavenToolchainsXpp3Writer

@Generated public class MavenToolchainsXpp3Writer extends Object
  • Constructor Details

    • MavenToolchainsXpp3Writer

      public MavenToolchainsXpp3Writer()
  • Method Details

    • setFileComment

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

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

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

      protected void writeDomToSerializer(org.apache.maven.api.xml.XmlNode dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDomToSerializer.
      Parameters:
      dom - a dom object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.