Class MavenXpp3WriterEx

java.lang.Object
org.apache.maven.model.io.xpp3.MavenXpp3WriterEx

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

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
    • stringFormatter

      protected InputLocation.StringFormatter stringFormatter
      Field stringFormatter.
  • Constructor Details

    • MavenXpp3WriterEx

      public MavenXpp3WriterEx()
  • Method Details

    • setFileComment

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

      public void setStringFormatter(InputLocation.StringFormatter stringFormatter)
      Method setStringFormatter.
      Parameters:
      stringFormatter -
    • toString

      protected String toString(InputLocation location)
      Method toString.
      Parameters:
      location -
      Returns:
      String
    • write

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

      public void write(OutputStream stream, Model model) throws IOException
      Method write.
      Parameters:
      stream -
      model -
      Throws:
      IOException
    • writeXpp3DomToSerializer

      protected void writeXpp3DomToSerializer(org.codehaus.plexus.util.xml.Xpp3Dom dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeXpp3DomToSerializer.
      Parameters:
      dom -
      serializer -
      Throws:
      IOException
    • writeActivation

      private void writeActivation(Activation activation, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeActivation.
      Parameters:
      activation -
      serializer -
      tagName -
      Throws:
      IOException
    • writeActivationFile

      private void writeActivationFile(ActivationFile activationFile, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeActivationFile.
      Parameters:
      activationFile -
      serializer -
      tagName -
      Throws:
      IOException
    • writeActivationOS

      private void writeActivationOS(ActivationOS activationOS, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeActivationOS.
      Parameters:
      activationOS -
      serializer -
      tagName -
      Throws:
      IOException
    • writeActivationProperty

      private void writeActivationProperty(ActivationProperty activationProperty, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeActivationProperty.
      Parameters:
      activationProperty -
      serializer -
      tagName -
      Throws:
      IOException
    • writeBuild

      private void writeBuild(Build build, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeBuild.
      Parameters:
      build -
      serializer -
      tagName -
      Throws:
      IOException
    • writeBuildBase

      private void writeBuildBase(BuildBase buildBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeBuildBase.
      Parameters:
      buildBase -
      serializer -
      tagName -
      Throws:
      IOException
    • writeCiManagement

      private void writeCiManagement(CiManagement ciManagement, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeCiManagement.
      Parameters:
      ciManagement -
      serializer -
      tagName -
      Throws:
      IOException
    • writeConfigurationContainer

      private void writeConfigurationContainer(ConfigurationContainer configurationContainer, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeConfigurationContainer.
      Parameters:
      configurationContainer -
      serializer -
      tagName -
      Throws:
      IOException
    • writeContributor

      private void writeContributor(Contributor contributor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeContributor.
      Parameters:
      contributor -
      serializer -
      tagName -
      Throws:
      IOException
    • writeDependency

      private void writeDependency(Dependency dependency, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDependency.
      Parameters:
      dependency -
      serializer -
      tagName -
      Throws:
      IOException
    • writeDependencyManagement

      private void writeDependencyManagement(DependencyManagement dependencyManagement, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDependencyManagement.
      Parameters:
      dependencyManagement -
      serializer -
      tagName -
      Throws:
      IOException
    • writeDeploymentRepository

      private void writeDeploymentRepository(DeploymentRepository deploymentRepository, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDeploymentRepository.
      Parameters:
      deploymentRepository -
      serializer -
      tagName -
      Throws:
      IOException
    • writeDeveloper

      private void writeDeveloper(Developer developer, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDeveloper.
      Parameters:
      developer -
      serializer -
      tagName -
      Throws:
      IOException
    • writeDistributionManagement

      private void writeDistributionManagement(DistributionManagement distributionManagement, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDistributionManagement.
      Parameters:
      distributionManagement -
      serializer -
      tagName -
      Throws:
      IOException
    • writeExclusion

      private void writeExclusion(Exclusion exclusion, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeExclusion.
      Parameters:
      exclusion -
      serializer -
      tagName -
      Throws:
      IOException
    • writeExtension

      private void writeExtension(Extension extension, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeExtension.
      Parameters:
      extension -
      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
    • writeIssueManagement

      private void writeIssueManagement(IssueManagement issueManagement, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeIssueManagement.
      Parameters:
      issueManagement -
      serializer -
      tagName -
      Throws:
      IOException
    • writeLicense

      private void writeLicense(License license, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLicense.
      Parameters:
      license -
      serializer -
      tagName -
      Throws:
      IOException
    • writeLocationTracking

      private void writeLocationTracking(InputLocationTracker locationTracker, Object key, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLocationTracking.
      Parameters:
      locationTracker -
      serializer -
      key -
      Throws:
      IOException
    • writeMailingList

      private void writeMailingList(MailingList mailingList, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeMailingList.
      Parameters:
      mailingList -
      serializer -
      tagName -
      Throws:
      IOException
    • writeModel

      private void writeModel(Model model, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeModel.
      Parameters:
      model -
      serializer -
      tagName -
      Throws:
      IOException
    • writeModelBase

      private void writeModelBase(ModelBase modelBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeModelBase.
      Parameters:
      modelBase -
      serializer -
      tagName -
      Throws:
      IOException
    • writeNotifier

      private void writeNotifier(Notifier notifier, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeNotifier.
      Parameters:
      notifier -
      serializer -
      tagName -
      Throws:
      IOException
    • writeOrganization

      private void writeOrganization(Organization organization, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeOrganization.
      Parameters:
      organization -
      serializer -
      tagName -
      Throws:
      IOException
    • writeParent

      private void writeParent(Parent parent, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeParent.
      Parameters:
      parent -
      serializer -
      tagName -
      Throws:
      IOException
    • writePatternSet

      private void writePatternSet(PatternSet patternSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePatternSet.
      Parameters:
      patternSet -
      serializer -
      tagName -
      Throws:
      IOException
    • writePlugin

      private void writePlugin(Plugin plugin, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePlugin.
      Parameters:
      plugin -
      serializer -
      tagName -
      Throws:
      IOException
    • writePluginConfiguration

      private void writePluginConfiguration(PluginConfiguration pluginConfiguration, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePluginConfiguration.
      Parameters:
      pluginConfiguration -
      serializer -
      tagName -
      Throws:
      IOException
    • writePluginContainer

      private void writePluginContainer(PluginContainer pluginContainer, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePluginContainer.
      Parameters:
      pluginContainer -
      serializer -
      tagName -
      Throws:
      IOException
    • writePluginExecution

      private void writePluginExecution(PluginExecution pluginExecution, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePluginExecution.
      Parameters:
      pluginExecution -
      serializer -
      tagName -
      Throws:
      IOException
    • writePluginManagement

      private void writePluginManagement(PluginManagement pluginManagement, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePluginManagement.
      Parameters:
      pluginManagement -
      serializer -
      tagName -
      Throws:
      IOException
    • writePrerequisites

      private void writePrerequisites(Prerequisites prerequisites, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePrerequisites.
      Parameters:
      prerequisites -
      serializer -
      tagName -
      Throws:
      IOException
    • writeProfile

      private void writeProfile(Profile profile, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeProfile.
      Parameters:
      profile -
      serializer -
      tagName -
      Throws:
      IOException
    • writeRelocation

      private void writeRelocation(Relocation relocation, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeRelocation.
      Parameters:
      relocation -
      serializer -
      tagName -
      Throws:
      IOException
    • writeReportPlugin

      private void writeReportPlugin(ReportPlugin reportPlugin, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeReportPlugin.
      Parameters:
      reportPlugin -
      serializer -
      tagName -
      Throws:
      IOException
    • writeReportSet

      private void writeReportSet(ReportSet reportSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeReportSet.
      Parameters:
      reportSet -
      serializer -
      tagName -
      Throws:
      IOException
    • writeReporting

      private void writeReporting(Reporting reporting, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeReporting.
      Parameters:
      reporting -
      serializer -
      tagName -
      Throws:
      IOException
    • writeRepository

      private void writeRepository(Repository repository, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeRepository.
      Parameters:
      repository -
      serializer -
      tagName -
      Throws:
      IOException
    • writeRepositoryBase

      private void writeRepositoryBase(RepositoryBase repositoryBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeRepositoryBase.
      Parameters:
      repositoryBase -
      serializer -
      tagName -
      Throws:
      IOException
    • writeRepositoryPolicy

      private void writeRepositoryPolicy(RepositoryPolicy repositoryPolicy, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeRepositoryPolicy.
      Parameters:
      repositoryPolicy -
      serializer -
      tagName -
      Throws:
      IOException
    • writeResource

      private void writeResource(Resource resource, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeResource.
      Parameters:
      resource -
      serializer -
      tagName -
      Throws:
      IOException
    • writeScm

      private void writeScm(Scm scm, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeScm.
      Parameters:
      scm -
      serializer -
      tagName -
      Throws:
      IOException
    • writeSite

      private void writeSite(Site site, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeSite.
      Parameters:
      site -
      serializer -
      tagName -
      Throws:
      IOException