Class ArchetypeCatalogXpp3Writer

java.lang.Object
org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Writer

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

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • ArchetypeCatalogXpp3Writer

      public ArchetypeCatalogXpp3Writer()
  • Method Details

    • setFileComment

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

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

      public void write(OutputStream stream, ArchetypeCatalog archetypeCatalog) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      archetypeCatalog - a archetypeCatalog object.
      Throws:
      IOException - java.io.IOException if any.
    • writeArchetype

      private void writeArchetype(Archetype archetype, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeArchetype.
      Parameters:
      archetype - a archetype object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeArchetypeCatalog

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