Class AssemblyXpp3Writer
java.lang.Object
org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Writer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidwrite(OutputStream stream, Assembly assembly) Method write.voidMethod write.private voidwriteAssembly(Assembly assembly, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeAssembly.private voidwriteContainerDescriptorHandlerConfig(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeContainerDescriptorHandlerConfig.private voidwriteDependencySet(DependencySet dependencySet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDependencySet.private voidwriteFileItem(FileItem fileItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFileItem.private voidwriteFileSet(FileSet fileSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFileSet.private voidwriteModuleBinaries(ModuleBinaries moduleBinaries, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleBinaries.private voidwriteModuleSet(ModuleSet moduleSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleSet.private voidwriteModuleSources(ModuleSources moduleSources, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleSources.private voidwriteUnpackOptions(UnpackOptions unpackOptions, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeUnpackOptions.
-
Field Details
-
NAMESPACE
Field NAMESPACE. -
fileComment
Field fileComment.
-
-
Constructor Details
-
AssemblyXpp3Writer
public AssemblyXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
write
Method write.- Parameters:
writer- a writer object.assembly- a assembly object.- Throws:
IOException- java.io.IOException if any.
-
write
Method write.- Parameters:
stream- a stream object.assembly- a assembly object.- Throws:
IOException- java.io.IOException if any.
-
writeAssembly
private void writeAssembly(Assembly assembly, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeAssembly.- Parameters:
assembly- a assembly object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeContainerDescriptorHandlerConfig
private void writeContainerDescriptorHandlerConfig(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeContainerDescriptorHandlerConfig.- Parameters:
containerDescriptorHandlerConfig- a containerDescriptorHandlerConfig object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeDependencySet
private void writeDependencySet(DependencySet dependencySet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeDependencySet.- Parameters:
dependencySet- a dependencySet object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeFileItem
private void writeFileItem(FileItem fileItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeFileItem.- Parameters:
fileItem- a fileItem object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeFileSet
private void writeFileSet(FileSet fileSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeFileSet.- Parameters:
fileSet- a fileSet object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeModuleBinaries
private void writeModuleBinaries(ModuleBinaries moduleBinaries, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeModuleBinaries.- Parameters:
moduleBinaries- a moduleBinaries object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeModuleSet
private void writeModuleSet(ModuleSet moduleSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeModuleSet.- Parameters:
moduleSet- a moduleSet object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeModuleSources
private void writeModuleSources(ModuleSources moduleSources, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeModuleSources.- Parameters:
moduleSources- a moduleSources object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeUnpackOptions
private void writeUnpackOptions(UnpackOptions unpackOptions, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeUnpackOptions.- Parameters:
unpackOptions- a unpackOptions object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-