Class PluginMetadataXpp3Writer
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.model.io.xpp3.PluginMetadataXpp3Writer
-
public class PluginMetadataXpp3Writer extends java.lang.ObjectClass PluginMetadataXpp3Writer.- 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 PluginMetadataXpp3Writer()
-
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, PluginMetadata pluginMetadata)Method write.voidwrite(java.io.Writer writer, PluginMetadata pluginMetadata)Method write.private voidwriteComponent(Component component, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeComponent.private voidwriteLifecycleExecution(LifecycleExecution lifecycleExecution, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeLifecycleExecution.private voidwriteMojo(Mojo mojo, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeMojo.private voidwriteParameter(Parameter parameter, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeParameter.private voidwritePluginMetadata(PluginMetadata pluginMetadata, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writePluginMetadata.
-
-
-
Method Detail
-
setFileComment
public void setFileComment(java.lang.String fileComment)
Method setFileComment.- Parameters:
fileComment-
-
write
public void write(java.io.Writer writer, PluginMetadata pluginMetadata) throws java.io.IOExceptionMethod write.- Parameters:
writer-pluginMetadata-- Throws:
java.io.IOException
-
write
public void write(java.io.OutputStream stream, PluginMetadata pluginMetadata) throws java.io.IOExceptionMethod write.- Parameters:
stream-pluginMetadata-- Throws:
java.io.IOException
-
writeComponent
private void writeComponent(Component component, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeComponent.- Parameters:
component-serializer-tagName-- Throws:
java.io.IOException
-
writeLifecycleExecution
private void writeLifecycleExecution(LifecycleExecution lifecycleExecution, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeLifecycleExecution.- Parameters:
lifecycleExecution-serializer-tagName-- Throws:
java.io.IOException
-
writeMojo
private void writeMojo(Mojo mojo, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeMojo.- Parameters:
mojo-serializer-tagName-- Throws:
java.io.IOException
-
writeParameter
private void writeParameter(Parameter parameter, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeParameter.- Parameters:
parameter-serializer-tagName-- Throws:
java.io.IOException
-
writePluginMetadata
private void writePluginMetadata(PluginMetadata pluginMetadata, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writePluginMetadata.- Parameters:
pluginMetadata-serializer-tagName-- Throws:
java.io.IOException
-
-