|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugins.shade.pom.MavenJDOMWriter
public class MavenJDOMWriter
Class MavenJDOMWriter.
Nested Class Summary | |
---|---|
class |
MavenJDOMWriter.Counter
Class Counter. |
Constructor Summary | |
---|---|
MavenJDOMWriter()
|
Method Summary | |
---|---|
protected org.jdom.Element |
findAndReplaceProperties(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
String name,
Map props)
Method findAndReplaceProperties |
protected org.jdom.Element |
findAndReplaceSimpleElement(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
String name,
String text,
String defaultValue)
Method findAndReplaceSimpleElement |
protected org.jdom.Element |
findAndReplaceSimpleLists(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentName,
String childName)
Method findAndReplaceSimpleLists |
protected org.jdom.Element |
findAndReplaceXpp3DOM(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
String name,
Xpp3Dom dom)
Method findAndReplaceXpp3DOM |
protected void |
insertAtPreferredLocation(org.jdom.Element parent,
org.jdom.Element child,
MavenJDOMWriter.Counter counter)
Method insertAtPreferredLocation |
protected void |
iterateContributor(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateContributor |
protected void |
iterateDependency(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateDependency |
protected void |
iterateDeveloper(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateDeveloper |
protected void |
iterateExclusion(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateExclusion |
protected void |
iterateExtension(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateExtension |
protected void |
iterateLicense(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateLicense |
protected void |
iterateMailingList(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateMailingList |
protected void |
iterateNotifier(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateNotifier |
protected void |
iteratePlugin(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iteratePlugin |
protected void |
iteratePluginExecution(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iteratePluginExecution |
protected void |
iterateProfile(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateProfile |
protected void |
iterateReportPlugin(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateReportPlugin |
protected void |
iterateReportSet(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateReportSet |
protected void |
iterateRepository(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateRepository |
protected void |
iterateResource(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
Collection list,
String parentTag,
String childTag)
Method iterateResource |
protected void |
replaceXpp3DOM(org.jdom.Element parent,
Xpp3Dom parentDom,
MavenJDOMWriter.Counter counter)
Method replaceXpp3DOM |
protected void |
updateActivationFile(ActivationFile value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateActivationFile |
protected void |
updateActivationOS(ActivationOS value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateActivationOS |
protected void |
updateActivationProperty(ActivationProperty value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateActivationProperty |
protected void |
updateBuild(Build value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateBuild |
protected void |
updateBuildBase(BuildBase value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateBuildBase |
protected void |
updateCiManagement(CiManagement value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateCiManagement |
protected void |
updateConfigurationContainer(ConfigurationContainer value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateConfigurationContainer |
protected void |
updateContributor(Contributor value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateContributor |
protected void |
updateDependency(Dependency value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateDependency |
protected void |
updateDependencyManagement(DependencyManagement value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateDependencyManagement |
protected void |
updateDeploymentRepository(DeploymentRepository value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateDeploymentRepository |
protected void |
updateDeveloper(Developer value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateDeveloper |
protected void |
updateDistributionManagement(DistributionManagement value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateDistributionManagement |
protected org.jdom.Element |
updateElement(MavenJDOMWriter.Counter counter,
org.jdom.Element parent,
String name,
boolean shouldExist)
Method updateElement |
protected void |
updateExclusion(Exclusion value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateExclusion |
protected void |
updateExtension(Extension value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateExtension |
protected void |
updateFileSet(FileSet value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateFileSet |
protected void |
updateIssueManagement(IssueManagement value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateIssueManagement |
protected void |
updateLicense(License value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateLicense |
protected void |
updateMailingList(MailingList value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateMailingList |
protected void |
updateModel(Model value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateModel |
protected void |
updateModelBase(ModelBase value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateModelBase |
protected void |
updateNotifier(Notifier value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateNotifier |
protected void |
updateOrganization(Organization value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateOrganization |
protected void |
updateParent(Parent value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateParent |
protected void |
updatePatternSet(PatternSet value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePatternSet |
protected void |
updatePlugin(Plugin value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePlugin |
protected void |
updatePluginConfiguration(PluginConfiguration value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePluginConfiguration |
protected void |
updatePluginContainer(PluginContainer value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePluginContainer |
protected void |
updatePluginExecution(PluginExecution value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePluginExecution |
protected void |
updatePluginManagement(PluginManagement value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePluginManagement |
protected void |
updatePrerequisites(Prerequisites value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updatePrerequisites |
protected void |
updateProfile(Profile value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateProfile |
protected void |
updateRelocation(Relocation value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateRelocation |
protected void |
updateReporting(Reporting value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateReporting |
protected void |
updateReportPlugin(ReportPlugin value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateReportPlugin |
protected void |
updateReportSet(ReportSet value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateReportSet |
protected void |
updateRepository(Repository value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateRepository |
protected void |
updateRepositoryBase(RepositoryBase value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateRepositoryBase |
protected void |
updateRepositoryPolicy(RepositoryPolicy value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateRepositoryPolicy |
protected void |
updateResource(Resource value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateResource |
protected void |
updateScm(Scm value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateScm |
protected void |
updateSite(Site value,
String xmlTag,
MavenJDOMWriter.Counter counter,
org.jdom.Element element)
Method updateSite |
void |
write(Model project,
org.jdom.Document document,
OutputStream stream)
Deprecated. |
void |
write(Model project,
org.jdom.Document document,
OutputStreamWriter writer)
Method write |
void |
write(Model project,
org.jdom.Document document,
Writer writer,
org.jdom.output.Format jdomFormat)
Method write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenJDOMWriter()
Method Detail |
---|
protected org.jdom.Element findAndReplaceProperties(MavenJDOMWriter.Counter counter, org.jdom.Element parent, String name, Map props)
counter
- props
- name
- parent
- protected org.jdom.Element findAndReplaceSimpleElement(MavenJDOMWriter.Counter counter, org.jdom.Element parent, String name, String text, String defaultValue)
counter
- defaultValue
- text
- name
- parent
- protected org.jdom.Element findAndReplaceSimpleLists(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentName, String childName)
counter
- childName
- parentName
- list
- parent
- protected org.jdom.Element findAndReplaceXpp3DOM(MavenJDOMWriter.Counter counter, org.jdom.Element parent, String name, Xpp3Dom dom)
counter
- dom
- name
- parent
- protected void insertAtPreferredLocation(org.jdom.Element parent, org.jdom.Element child, MavenJDOMWriter.Counter counter)
parent
- counter
- child
- protected void iterateContributor(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateDependency(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateDeveloper(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateExclusion(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateExtension(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateLicense(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateMailingList(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateNotifier(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iteratePlugin(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iteratePluginExecution(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateProfile(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateReportPlugin(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateReportSet(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateRepository(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void iterateResource(MavenJDOMWriter.Counter counter, org.jdom.Element parent, Collection list, String parentTag, String childTag)
counter
- childTag
- parentTag
- list
- parent
- protected void replaceXpp3DOM(org.jdom.Element parent, Xpp3Dom parentDom, MavenJDOMWriter.Counter counter)
parent
- counter
- parentDom
- protected void updateActivationFile(ActivationFile value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateActivationOS(ActivationOS value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateActivationProperty(ActivationProperty value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateBuild(Build value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateBuildBase(BuildBase value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateCiManagement(CiManagement value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateConfigurationContainer(ConfigurationContainer value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateContributor(Contributor value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateDependency(Dependency value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateDependencyManagement(DependencyManagement value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateDeploymentRepository(DeploymentRepository value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateDeveloper(Developer value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateDistributionManagement(DistributionManagement value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected org.jdom.Element updateElement(MavenJDOMWriter.Counter counter, org.jdom.Element parent, String name, boolean shouldExist)
counter
- shouldExist
- name
- parent
- protected void updateExclusion(Exclusion value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateExtension(Extension value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateFileSet(FileSet value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateIssueManagement(IssueManagement value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateLicense(License value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateMailingList(MailingList value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateModel(Model value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateModelBase(ModelBase value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateNotifier(Notifier value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateOrganization(Organization value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateParent(Parent value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePatternSet(PatternSet value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePlugin(Plugin value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePluginConfiguration(PluginConfiguration value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePluginContainer(PluginContainer value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePluginExecution(PluginExecution value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePluginManagement(PluginManagement value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updatePrerequisites(Prerequisites value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateProfile(Profile value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateRelocation(Relocation value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateReportPlugin(ReportPlugin value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateReportSet(ReportSet value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateReporting(Reporting value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateRepository(Repository value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateRepositoryBase(RepositoryBase value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateRepositoryPolicy(RepositoryPolicy value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateResource(Resource value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateScm(Scm value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- protected void updateSite(Site value, String xmlTag, MavenJDOMWriter.Counter counter, org.jdom.Element element)
value
- element
- counter
- xmlTag
- public void write(Model project, org.jdom.Document document, OutputStream stream) throws IOException
project
- stream
- document
-
IOException
public void write(Model project, org.jdom.Document document, OutputStreamWriter writer) throws IOException
project
- writer
- document
-
IOException
public void write(Model project, org.jdom.Document document, Writer writer, org.jdom.output.Format jdomFormat) throws IOException
project
- jdomFormat
- writer
- document
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |