Class MavenJDOMWriter
- java.lang.Object
-
- org.apache.maven.plugins.shade.pom.MavenJDOMWriter
-
public class MavenJDOMWriter extends java.lang.Object
Class MavenJDOMWriter.
-
-
Constructor Summary
Constructors Constructor Description MavenJDOMWriter()
MavenJDOMWriter(java.lang.String lineSeparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected org.jdom2.Element
findAndReplaceProperties(Counter counter, org.jdom2.Element parent, java.lang.String name, java.util.Map props)
Method findAndReplacePropertiesprotected org.jdom2.Element
findAndReplaceSimpleElement(Counter counter, org.jdom2.Element parent, java.lang.String name, java.lang.String text, java.lang.String defaultValue)
Method findAndReplaceSimpleElementprotected org.jdom2.Element
findAndReplaceSimpleLists(Counter counter, org.jdom2.Element parent, java.util.Collection<java.lang.String> list, java.lang.String parentName, java.lang.String childName)
Method findAndReplaceSimpleListsprotected org.jdom2.Element
findAndReplaceXpp3DOM(Counter counter, org.jdom2.Element parent, java.lang.String name, org.codehaus.plexus.util.xml.Xpp3Dom dom)
Method findAndReplaceXpp3DOMprotected void
insertAtPreferredLocation(org.jdom2.Element parent, org.jdom2.Element child, Counter counter)
Method insertAtPreferredLocationprotected void
iterateContributor(Counter counter, org.jdom2.Element parent, java.util.Collection<Contributor> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateContributorprotected void
iterateDependency(Counter counter, org.jdom2.Element parent, java.util.Collection<Dependency> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateDependencyprotected void
iterateDeveloper(Counter counter, org.jdom2.Element parent, java.util.Collection<Developer> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateDeveloperprotected void
iterateExclusion(Counter counter, org.jdom2.Element parent, java.util.Collection<Exclusion> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateExclusionprotected void
iterateExtension(Counter counter, org.jdom2.Element parent, java.util.Collection<Extension> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateExtensionprotected void
iterateLicense(Counter counter, org.jdom2.Element parent, java.util.Collection<License> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateLicenseprotected void
iterateMailingList(Counter counter, org.jdom2.Element parent, java.util.Collection<MailingList> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateMailingListprotected void
iterateNotifier(Counter counter, org.jdom2.Element parent, java.util.Collection<Notifier> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateNotifierprotected void
iteratePlugin(Counter counter, org.jdom2.Element parent, java.util.Collection<Plugin> list, java.lang.String parentTag, java.lang.String childTag)
Method iteratePluginprotected void
iteratePluginExecution(Counter counter, org.jdom2.Element parent, java.util.Collection<PluginExecution> list, java.lang.String parentTag, java.lang.String childTag)
Method iteratePluginExecutionprotected void
iterateProfile(Counter counter, org.jdom2.Element parent, java.util.Collection<Profile> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateProfileprotected void
iterateReportPlugin(Counter counter, org.jdom2.Element parent, java.util.Collection<ReportPlugin> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateReportPluginprotected void
iterateReportSet(Counter counter, org.jdom2.Element parent, java.util.Collection<ReportSet> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateReportSetprotected void
iterateRepository(Counter counter, org.jdom2.Element parent, java.util.Collection<Repository> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateRepositoryprotected void
iterateResource(Counter counter, org.jdom2.Element parent, java.util.Collection<Resource> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateResourceprotected void
replaceXpp3DOM(org.jdom2.Element parent, org.codehaus.plexus.util.xml.Xpp3Dom parentDom, Counter counter)
Method replaceXpp3DOMprotected void
updateActivationFile(ActivationFile value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationFileprotected void
updateActivationOS(ActivationOS value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationOSprotected void
updateActivationProperty(ActivationProperty value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationPropertyprotected void
updateBuild(Build value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateBuildprotected void
updateBuildBase(BuildBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateBuildBaseprotected void
updateCiManagement(CiManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateCiManagementprotected void
updateConfigurationContainer(ConfigurationContainer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateConfigurationContainerprotected void
updateContributor(Contributor value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateContributorprotected void
updateDependency(Dependency value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDependencyprotected void
updateDependencyManagement(DependencyManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDependencyManagementprotected void
updateDeploymentRepository(DeploymentRepository value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDeploymentRepositoryprotected void
updateDeveloper(Developer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDeveloperprotected void
updateDistributionManagement(DistributionManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDistributionManagementprotected org.jdom2.Element
updateElement(Counter counter, org.jdom2.Element parent, java.lang.String name, boolean shouldExist)
Method updateElementprotected void
updateExclusion(Exclusion value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateExclusionprotected void
updateExtension(Extension value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateExtensionprotected void
updateFileSet(FileSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateFileSetprotected void
updateIssueManagement(IssueManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateIssueManagementprotected void
updateLicense(License value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateLicenseprotected void
updateMailingList(MailingList value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateMailingListprotected void
updateModel(Model value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateModelprotected void
updateModelBase(ModelBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateModelBaseprotected void
updateNotifier(Notifier value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateNotifierprotected void
updateOrganization(Organization value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateOrganizationprotected void
updateParent(Parent value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateParentprotected void
updatePatternSet(PatternSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePatternSetprotected void
updatePlugin(Plugin value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginprotected void
updatePluginConfiguration(PluginConfiguration value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginConfigurationprotected void
updatePluginContainer(PluginContainer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginContainerprotected void
updatePluginExecution(PluginExecution value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginExecutionprotected void
updatePluginManagement(PluginManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginManagementprotected void
updatePrerequisites(Prerequisites value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePrerequisitesprotected void
updateProfile(Profile value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateProfileprotected void
updateRelocation(Relocation value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRelocationprotected void
updateReporting(Reporting value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReportingprotected void
updateReportPlugin(ReportPlugin value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReportPluginprotected void
updateReportSet(ReportSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReportSetprotected void
updateRepository(Repository value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepositoryprotected void
updateRepositoryBase(RepositoryBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepositoryBaseprotected void
updateRepositoryPolicy(RepositoryPolicy value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepositoryPolicyprotected void
updateResource(Resource value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateResourceprotected void
updateScm(Scm value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateScmprotected void
updateSite(Site value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateSitevoid
write(Model project, org.jdom2.Document document, java.io.OutputStream stream)
Deprecated.void
write(Model project, org.jdom2.Document document, java.io.OutputStreamWriter writer)
Method writevoid
write(Model project, org.jdom2.Document document, java.io.Writer writer, org.jdom2.output.Format jdomFormat)
Method write
-
-
-
Method Detail
-
findAndReplaceProperties
protected org.jdom2.Element findAndReplaceProperties(Counter counter, org.jdom2.Element parent, java.lang.String name, java.util.Map props)
Method findAndReplaceProperties- Parameters:
counter
-Counter
props
-Map
name
- The name.parent
-Element
- Returns:
Element
-
findAndReplaceSimpleElement
protected org.jdom2.Element findAndReplaceSimpleElement(Counter counter, org.jdom2.Element parent, java.lang.String name, java.lang.String text, java.lang.String defaultValue)
Method findAndReplaceSimpleElement- Parameters:
counter
-Counter
defaultValue
- The default value.text
- The text.name
- The name.parent
- The parent.- Returns:
Element
-
findAndReplaceSimpleLists
protected org.jdom2.Element findAndReplaceSimpleLists(Counter counter, org.jdom2.Element parent, java.util.Collection<java.lang.String> list, java.lang.String parentName, java.lang.String childName)
Method findAndReplaceSimpleLists- Parameters:
counter
-Counter
childName
- The childNameparentName
- The parentNamelist
- The list of elements.parent
- The parent.- Returns:
Element
-
findAndReplaceXpp3DOM
protected org.jdom2.Element findAndReplaceXpp3DOM(Counter counter, org.jdom2.Element parent, java.lang.String name, org.codehaus.plexus.util.xml.Xpp3Dom dom)
Method findAndReplaceXpp3DOM- Parameters:
counter
-Counter
dom
-Xpp3Dom
name
- The name.parent
- The parent.- Returns:
Element
-
insertAtPreferredLocation
protected void insertAtPreferredLocation(org.jdom2.Element parent, org.jdom2.Element child, Counter counter)
Method insertAtPreferredLocation- Parameters:
parent
- The parent.counter
-Counter
child
-Element
-
iterateContributor
protected void iterateContributor(Counter counter, org.jdom2.Element parent, java.util.Collection<Contributor> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateContributor- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateDependency
protected void iterateDependency(Counter counter, org.jdom2.Element parent, java.util.Collection<Dependency> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateDependency- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateDeveloper
protected void iterateDeveloper(Counter counter, org.jdom2.Element parent, java.util.Collection<Developer> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateDeveloper- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateExclusion
protected void iterateExclusion(Counter counter, org.jdom2.Element parent, java.util.Collection<Exclusion> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateExclusion- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateExtension
protected void iterateExtension(Counter counter, org.jdom2.Element parent, java.util.Collection<Extension> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateExtension- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateLicense
protected void iterateLicense(Counter counter, org.jdom2.Element parent, java.util.Collection<License> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateLicense- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateMailingList
protected void iterateMailingList(Counter counter, org.jdom2.Element parent, java.util.Collection<MailingList> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateMailingList- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateNotifier
protected void iterateNotifier(Counter counter, org.jdom2.Element parent, java.util.Collection<Notifier> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateNotifier- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iteratePlugin
protected void iteratePlugin(Counter counter, org.jdom2.Element parent, java.util.Collection<Plugin> list, java.lang.String parentTag, java.lang.String childTag)
Method iteratePlugin- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iteratePluginExecution
protected void iteratePluginExecution(Counter counter, org.jdom2.Element parent, java.util.Collection<PluginExecution> list, java.lang.String parentTag, java.lang.String childTag)
Method iteratePluginExecution- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateProfile
protected void iterateProfile(Counter counter, org.jdom2.Element parent, java.util.Collection<Profile> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateProfile- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateReportPlugin
protected void iterateReportPlugin(Counter counter, org.jdom2.Element parent, java.util.Collection<ReportPlugin> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateReportPlugin- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateReportSet
protected void iterateReportSet(Counter counter, org.jdom2.Element parent, java.util.Collection<ReportSet> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateReportSet- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateRepository
protected void iterateRepository(Counter counter, org.jdom2.Element parent, java.util.Collection<Repository> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateRepository- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
iterateResource
protected void iterateResource(Counter counter, org.jdom2.Element parent, java.util.Collection<Resource> list, java.lang.String parentTag, java.lang.String childTag)
Method iterateResource- Parameters:
counter
-Counter
childTag
- The childTagparentTag
- The parentTaglist
- The list of elements.parent
- The parent.
-
replaceXpp3DOM
protected void replaceXpp3DOM(org.jdom2.Element parent, org.codehaus.plexus.util.xml.Xpp3Dom parentDom, Counter counter)
Method replaceXpp3DOM- Parameters:
parent
- The parent.counter
-Counter
parentDom
-Element
-
updateActivationFile
protected void updateActivationFile(ActivationFile value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationFile- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateActivationOS
protected void updateActivationOS(ActivationOS value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationOS- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateActivationProperty
protected void updateActivationProperty(ActivationProperty value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateActivationProperty- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateBuild
protected void updateBuild(Build value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateBuild- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateBuildBase
protected void updateBuildBase(BuildBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateBuildBase- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateCiManagement
protected void updateCiManagement(CiManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateCiManagement- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateConfigurationContainer
protected void updateConfigurationContainer(ConfigurationContainer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateConfigurationContainer- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateContributor
protected void updateContributor(Contributor value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateContributor- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateDependency
protected void updateDependency(Dependency value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDependency- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateDependencyManagement
protected void updateDependencyManagement(DependencyManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDependencyManagement- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateDeploymentRepository
protected void updateDeploymentRepository(DeploymentRepository value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDeploymentRepository- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateDeveloper
protected void updateDeveloper(Developer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDeveloper- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateDistributionManagement
protected void updateDistributionManagement(DistributionManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateDistributionManagement- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateElement
protected org.jdom2.Element updateElement(Counter counter, org.jdom2.Element parent, java.lang.String name, boolean shouldExist)
Method updateElement- Parameters:
counter
-Counter
shouldExist
- should exist.name
- The name.parent
- The parent.- Returns:
Element
-
updateExclusion
protected void updateExclusion(Exclusion value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateExclusion- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateExtension
protected void updateExtension(Extension value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateExtension- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateFileSet
protected void updateFileSet(FileSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateFileSet- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateIssueManagement
protected void updateIssueManagement(IssueManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateIssueManagement- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateLicense
protected void updateLicense(License value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateLicense- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateMailingList
protected void updateMailingList(MailingList value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateMailingList- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateModel
protected void updateModel(Model value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateModel- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateModelBase
protected void updateModelBase(ModelBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateModelBase- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateNotifier
protected void updateNotifier(Notifier value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateNotifier- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateOrganization
protected void updateOrganization(Organization value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateOrganization- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateParent
protected void updateParent(Parent value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateParent- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePatternSet
protected void updatePatternSet(PatternSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePatternSet- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePlugin
protected void updatePlugin(Plugin value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePlugin- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePluginConfiguration
protected void updatePluginConfiguration(PluginConfiguration value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginConfiguration- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePluginContainer
protected void updatePluginContainer(PluginContainer value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginContainer- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePluginExecution
protected void updatePluginExecution(PluginExecution value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginExecution- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePluginManagement
protected void updatePluginManagement(PluginManagement value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePluginManagement- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updatePrerequisites
protected void updatePrerequisites(Prerequisites value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updatePrerequisites- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateProfile
protected void updateProfile(Profile value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateProfile- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateRelocation
protected void updateRelocation(Relocation value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRelocation- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateReportPlugin
protected void updateReportPlugin(ReportPlugin value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReportPlugin- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateReportSet
protected void updateReportSet(ReportSet value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReportSet- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateReporting
protected void updateReporting(Reporting value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateReporting- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateRepository
protected void updateRepository(Repository value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepository- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateRepositoryBase
protected void updateRepositoryBase(RepositoryBase value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepositoryBase- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateRepositoryPolicy
protected void updateRepositoryPolicy(RepositoryPolicy value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateRepositoryPolicy- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateResource
protected void updateResource(Resource value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateResource- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateScm
protected void updateScm(Scm value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateScm- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
updateSite
protected void updateSite(Site value, java.lang.String xmlTag, Counter counter, org.jdom2.Element element)
Method updateSite- Parameters:
value
- The value.element
-Element
counter
-Counter
xmlTag
- The XMLTag.
-
write
public void write(Model project, org.jdom2.Document document, java.io.OutputStream stream) throws java.io.IOException
Deprecated.Method write- Parameters:
project
-Model
stream
-OutputStream
document
-Document
- Throws:
java.io.IOException
- in case of an error.
-
write
public void write(Model project, org.jdom2.Document document, java.io.OutputStreamWriter writer) throws java.io.IOException
Method write- Parameters:
project
-Model
writer
-OutputStreamWriter
document
-Document
- Throws:
java.io.IOException
- in case of an error.
-
write
public void write(Model project, org.jdom2.Document document, java.io.Writer writer, org.jdom2.output.Format jdomFormat) throws java.io.IOException
Method write- Parameters:
project
-Model
jdomFormat
-Format
writer
-Writer
document
-Document
- Throws:
java.io.IOException
- in case of an error.
-
-