Class MetadataXpp3Writer

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

@Deprecated public class MetadataXpp3Writer extends Object
Deprecated.
Maven 3 compatability - please use MetadataStaxWriter
Provide public methods from MetadataStaxWriter
  • Constructor Details

    • MetadataXpp3Writer

      public MetadataXpp3Writer()
      Deprecated.
      Default constructor
  • Method Details

    • setFileComment

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

      public void write(Writer writer, Metadata metadata) throws IOException
      Deprecated.
      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
      Deprecated.
      Method write.
      Parameters:
      stream - a stream object
      metadata - a Metadata object
      Throws:
      IOException - java.io.IOException if any