Class ArchetypeDescriptorXpp3Writer

java.lang.Object
org.apache.maven.archetype.metadata.io.xpp3.ArchetypeDescriptorXpp3Writer

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

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • ArchetypeDescriptorXpp3Writer

      public ArchetypeDescriptorXpp3Writer()
  • Method Details

    • setFileComment

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

      public void write(Writer writer, ArchetypeDescriptor archetypeDescriptor) throws IOException
      Method write.
      Parameters:
      writer -
      archetypeDescriptor -
      Throws:
      IOException
    • write

      public void write(OutputStream stream, ArchetypeDescriptor archetypeDescriptor) throws IOException
      Method write.
      Parameters:
      stream -
      archetypeDescriptor -
      Throws:
      IOException
    • writeAbstractArchetypeDescriptor

      private void writeAbstractArchetypeDescriptor(AbstractArchetypeDescriptor abstractArchetypeDescriptor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeAbstractArchetypeDescriptor.
      Parameters:
      abstractArchetypeDescriptor -
      serializer -
      tagName -
      Throws:
      IOException
    • writeArchetypeDescriptor

      private void writeArchetypeDescriptor(ArchetypeDescriptor archetypeDescriptor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeArchetypeDescriptor.
      Parameters:
      archetypeDescriptor -
      serializer -
      tagName -
      Throws:
      IOException
    • writeFileSet

      private void writeFileSet(FileSet fileSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeFileSet.
      Parameters:
      fileSet -
      serializer -
      tagName -
      Throws:
      IOException
    • writeModuleDescriptor

      private void writeModuleDescriptor(ModuleDescriptor moduleDescriptor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeModuleDescriptor.
      Parameters:
      moduleDescriptor -
      serializer -
      tagName -
      Throws:
      IOException
    • writeRequiredProperty

      private void writeRequiredProperty(RequiredProperty requiredProperty, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeRequiredProperty.
      Parameters:
      requiredProperty -
      serializer -
      tagName -
      Throws:
      IOException