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 TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, Component component) Method write.void
Method write.private void
writeComponent
(Component component, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeComponent.private void
writeContainerDescriptorHandlerConfig
(ContainerDescriptorHandlerConfig containerDescriptorHandlerConfig, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeContainerDescriptorHandlerConfig.private void
writeDependencySet
(DependencySet dependencySet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDependencySet.private void
writeFileItem
(FileItem fileItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFileItem.private void
writeFileSet
(FileSet fileSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeFileSet.private void
writeModuleBinaries
(ModuleBinaries moduleBinaries, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleBinaries.private void
writeModuleSet
(ModuleSet moduleSet, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleSet.private void
writeModuleSources
(ModuleSources moduleSources, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeModuleSources.private void
writeUnpackOptions
(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.
-