public class LifecycleMappingsXpp3Writer
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 |
---|
LifecycleMappingsXpp3Writer() |
Modifier and Type | Method and Description |
---|---|
void |
setFileComment(java.lang.String fileComment)
Method setFileComment.
|
void |
write(java.io.OutputStream stream,
LifecycleConfiguration lifecycleConfiguration)
Method write.
|
void |
write(java.io.Writer writer,
LifecycleConfiguration lifecycleConfiguration)
Method write.
|
private void |
writeExecution(Execution execution,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeExecution.
|
private void |
writeLifecycle(Lifecycle lifecycle,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeLifecycle.
|
private void |
writeLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeLifecycleConfiguration.
|
private void |
writePhase(Phase phase,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writePhase.
|
private static final java.lang.String NAMESPACE
private java.lang.String fileComment
public void setFileComment(java.lang.String fileComment)
fileComment
- a fileComment object.public void write(java.io.Writer writer, LifecycleConfiguration lifecycleConfiguration) throws java.io.IOException
writer
- a writer object.lifecycleConfiguration
- a lifecycleConfiguration
object.java.io.IOException
- java.io.IOException if any.public void write(java.io.OutputStream stream, LifecycleConfiguration lifecycleConfiguration) throws java.io.IOException
stream
- a stream object.lifecycleConfiguration
- a lifecycleConfiguration
object.java.io.IOException
- java.io.IOException if any.private void writeExecution(Execution execution, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
execution
- a execution object.serializer
- a serializer object.tagName
- a tagName object.java.io.IOException
- java.io.IOException if any.private void writeLifecycle(Lifecycle lifecycle, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
lifecycle
- a lifecycle object.serializer
- a serializer object.tagName
- a tagName object.java.io.IOException
- java.io.IOException if any.private void writeLifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
lifecycleConfiguration
- a lifecycleConfiguration
object.serializer
- a serializer object.tagName
- a tagName object.java.io.IOException
- java.io.IOException if any.private void writePhase(Phase phase, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
phase
- a phase object.serializer
- a serializer object.tagName
- a tagName object.java.io.IOException
- java.io.IOException if any.