public class PluginMetadataXpp3Writer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fileComment
Field fileComment.
|
private static java.lang.String |
NAMESPACE
Field NAMESPACE.
|
Constructor and Description |
---|
PluginMetadataXpp3Writer() |
Modifier and Type | Method and Description |
---|---|
void |
setFileComment(java.lang.String fileComment)
Method setFileComment.
|
void |
write(java.io.OutputStream stream,
PluginMetadata pluginMetadata)
Method write.
|
void |
write(java.io.Writer writer,
PluginMetadata pluginMetadata)
Method write.
|
private void |
writeComponent(Component component,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeComponent.
|
private void |
writeLifecycleExecution(LifecycleExecution lifecycleExecution,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeLifecycleExecution.
|
private void |
writeMojo(Mojo mojo,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeMojo.
|
private void |
writeParameter(Parameter parameter,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeParameter.
|
private void |
writePluginMetadata(PluginMetadata pluginMetadata,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writePluginMetadata.
|
private static final java.lang.String NAMESPACE
private java.lang.String fileComment
public void setFileComment(java.lang.String fileComment)
fileComment
- public void write(java.io.Writer writer, PluginMetadata pluginMetadata) throws java.io.IOException
writer
- pluginMetadata
- java.io.IOException
public void write(java.io.OutputStream stream, PluginMetadata pluginMetadata) throws java.io.IOException
stream
- pluginMetadata
- java.io.IOException
private void writeComponent(Component component, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
component
- serializer
- tagName
- java.io.IOException
private void writeLifecycleExecution(LifecycleExecution lifecycleExecution, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
lifecycleExecution
- serializer
- tagName
- java.io.IOException
private void writeMojo(Mojo mojo, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
mojo
- serializer
- tagName
- java.io.IOException
private void writeParameter(Parameter parameter, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
parameter
- serializer
- tagName
- java.io.IOException
private void writePluginMetadata(PluginMetadata pluginMetadata, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
pluginMetadata
- serializer
- tagName
- java.io.IOException