Class MetadataXpp3Writer

java.lang.Object
org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Writer

public class MetadataXpp3Writer extends Object
Class MetadataXpp3Writer.
Version:
$Revision$ $Date$
  • Constructor Details

    • MetadataXpp3Writer

      public MetadataXpp3Writer()
  • Method Details

    • setFileComment

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

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

      public void write(OutputStream stream, Metadata metadata) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      metadata - a metadata object.
      Throws:
      IOException - java.io.IOException if any.