Class MavenXpp3Writer
java.lang.Object
org.apache.maven.model.v3_0_0.io.xpp3.MavenXpp3Writer
Class MavenXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, Model model) Method write.void
Method write.private void
writeBranch
(Branch branch, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBranch.private void
writeBuild
(Build build, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBuild.private void
writeBuildBase
(BuildBase buildBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBuildBase.private void
writeContributor
(Contributor contributor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeContributor.private void
writeDependency
(Dependency dependency, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDependency.private void
writeDeveloper
(Developer developer, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDeveloper.private void
writeFileSet
(FileSet fileSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFileSet.private void
writeLicense
(License license, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeLicense.private void
writeMailingList
(MailingList mailingList, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeMailingList.private void
writeModel
(Model model, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModel.private void
writeModelBase
(ModelBase modelBase, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModelBase.private void
writeOrganization
(Organization organization, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeOrganization.private void
writePackageGroup
(PackageGroup packageGroup, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePackageGroup.private void
writePatternSet
(PatternSet patternSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePatternSet.private void
writePluginConfiguration
(PluginConfiguration pluginConfiguration, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePluginConfiguration.private void
writePluginContainer
(PluginContainer pluginContainer, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePluginContainer.private void
writeRepository
(Repository repository, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeRepository.private void
writeResource
(Resource resource, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeResource.private void
writeSourceModification
(SourceModification sourceModification, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSourceModification.private void
writeUnitTest
(UnitTest unitTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeUnitTest.private void
writeVersion
(Version version, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeVersion.
-
Field Details
-
NAMESPACE
Field NAMESPACE. -
fileComment
Field fileComment.
-
-
Constructor Details
-
MavenXpp3Writer
public MavenXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment
-
-
write
Method write.- Parameters:
writer
-model
-- Throws:
IOException
-
write
Method write.- Parameters:
stream
-model
-- Throws:
IOException
-
writeBranch
private void writeBranch(Branch branch, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBranch.- Parameters:
branch
-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
-
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
-
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
-
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
-
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
-
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
-
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
-
writePackageGroup
private void writePackageGroup(PackageGroup packageGroup, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writePackageGroup.- Parameters:
packageGroup
-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
-
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
-
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
-
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
-
writeSourceModification
private void writeSourceModification(SourceModification sourceModification, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSourceModification.- Parameters:
sourceModification
-serializer
-tagName
-- Throws:
IOException
-
writeUnitTest
private void writeUnitTest(UnitTest unitTest, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeUnitTest.- Parameters:
unitTest
-serializer
-tagName
-- Throws:
IOException
-
writeVersion
private void writeVersion(Version version, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeVersion.- Parameters:
version
-serializer
-tagName
-- Throws:
IOException
-