org.apache.maven.plugin.tools.model.io.xpp3
Class PluginMetadataXpp3Writer

java.lang.Object
  extended by org.apache.maven.plugin.tools.model.io.xpp3.PluginMetadataXpp3Writer

public class PluginMetadataXpp3Writer
extends java.lang.Object

Class PluginMetadataXpp3Writer.

Version:
$Revision$ $Date$

Field Summary
private  java.lang.String NAMESPACE
          Field NAMESPACE
 
Constructor Summary
PluginMetadataXpp3Writer()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

private java.lang.String NAMESPACE
Field NAMESPACE

Constructor Detail

PluginMetadataXpp3Writer

public PluginMetadataXpp3Writer()
Method Detail

write

public void write(java.io.Writer writer,
                  PluginMetadata pluginMetadata)
           throws java.io.IOException
Method write

Parameters:
writer -
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