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 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
-
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.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.
-