Class ComponentXpp3Writer
java.lang.Object
org.apache.maven.plugins.assembly.model.io.xpp3.ComponentXpp3Writer
Class ComponentXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidwrite(OutputStream stream, Component component) Method write.voidMethod write.private voidwriteComponent(Component component, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeComponent.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 voidwriteGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeGroupVersionAlignment.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 voidwriteRepository(Repository repository, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeRepository.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
-
ComponentXpp3Writer
public ComponentXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
write
Method write.- Parameters:
writer- a writer object.component- a component object.- Throws:
IOException- java.io.IOException if any.
-
write
Method write.- Parameters:
stream- a stream object.component- a component object.- Throws:
IOException- java.io.IOException if any.
-
writeComponent
private void writeComponent(Component component, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeComponent.- Parameters:
component- a component object.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName object.- Throws:
IOException- java.io.IOException if any.
-
writeGroupVersionAlignment
private void writeGroupVersionAlignment(GroupVersionAlignment groupVersionAlignment, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeGroupVersionAlignment.- Parameters:
groupVersionAlignment- a groupVersionAlignment object.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName object.- Throws:
IOException- java.io.IOException if any.
-
writeRepository
private void writeRepository(Repository repository, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeRepository.- Parameters:
repository- a repository object.serializer- a serializer object.tagName- a tagName 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.serializer- a serializer object.tagName- a tagName object.- Throws:
IOException- java.io.IOException if any.
-