Class AssemblyXpp3Writer
- java.lang.Object
-
- org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Writer
-
public class AssemblyXpp3Writer extends java.lang.ObjectClass AssemblyXpp3Writer.- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfileCommentField fileComment.private static java.lang.StringNAMESPACEField NAMESPACE.
-
Constructor Summary
Constructors Constructor Description AssemblyXpp3Writer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFileComment(java.lang.String fileComment)Method setFileComment.voidwrite(java.io.OutputStream stream, Assembly assembly)Method write.voidwrite(java.io.Writer writer, Assembly assembly)Method write.private voidwriteAssembly(Assembly assembly, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeAssembly.private voidwriteContainerDescriptorHandlerConfig(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeContainerDescriptorHandlerConfig.private voidwriteDependencySet(DependencySet dependencySet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeDependencySet.private voidwriteFileItem(FileItem fileItem, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeFileItem.private voidwriteFileSet(FileSet fileSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeFileSet.private voidwriteGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeGroupVersionAlignment.private voidwriteModuleBinaries(ModuleBinaries moduleBinaries, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeModuleBinaries.private voidwriteModuleSet(ModuleSet moduleSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeModuleSet.private voidwriteModuleSources(ModuleSources moduleSources, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeModuleSources.private voidwriteRepository(Repository repository, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeRepository.private voidwriteUnpackOptions(UnpackOptions unpackOptions, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeUnpackOptions.
-
-
-
Method Detail
-
setFileComment
public void setFileComment(java.lang.String fileComment)
Method setFileComment.- Parameters:
fileComment-
-
write
public void write(java.io.Writer writer, Assembly assembly) throws java.io.IOExceptionMethod write.- Parameters:
writer-assembly-- Throws:
java.io.IOException
-
write
public void write(java.io.OutputStream stream, Assembly assembly) throws java.io.IOExceptionMethod write.- Parameters:
stream-assembly-- Throws:
java.io.IOException
-
writeAssembly
private void writeAssembly(Assembly assembly, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeAssembly.- Parameters:
assembly-serializer-tagName-- Throws:
java.io.IOException
-
writeContainerDescriptorHandlerConfig
private void writeContainerDescriptorHandlerConfig(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeContainerDescriptorHandlerConfig.- Parameters:
containerDescriptorHandlerConfig-serializer-tagName-- Throws:
java.io.IOException
-
writeDependencySet
private void writeDependencySet(DependencySet dependencySet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeDependencySet.- Parameters:
dependencySet-serializer-tagName-- Throws:
java.io.IOException
-
writeFileItem
private void writeFileItem(FileItem fileItem, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeFileItem.- Parameters:
fileItem-serializer-tagName-- Throws:
java.io.IOException
-
writeFileSet
private void writeFileSet(FileSet fileSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeFileSet.- Parameters:
fileSet-serializer-tagName-- Throws:
java.io.IOException
-
writeGroupVersionAlignment
private void writeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeGroupVersionAlignment.- Parameters:
groupVersionAlignment-serializer-tagName-- Throws:
java.io.IOException
-
writeModuleBinaries
private void writeModuleBinaries(ModuleBinaries moduleBinaries, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeModuleBinaries.- Parameters:
moduleBinaries-serializer-tagName-- Throws:
java.io.IOException
-
writeModuleSet
private void writeModuleSet(ModuleSet moduleSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeModuleSet.- Parameters:
moduleSet-serializer-tagName-- Throws:
java.io.IOException
-
writeModuleSources
private void writeModuleSources(ModuleSources moduleSources, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeModuleSources.- Parameters:
moduleSources-serializer-tagName-- Throws:
java.io.IOException
-
writeRepository
private void writeRepository(Repository repository, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeRepository.- Parameters:
repository-serializer-tagName-- Throws:
java.io.IOException
-
writeUnpackOptions
private void writeUnpackOptions(UnpackOptions unpackOptions, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeUnpackOptions.- Parameters:
unpackOptions-serializer-tagName-- Throws:
java.io.IOException
-
-