Package org.apache.maven.model.v4
Class MavenXpp3Writer
java.lang.Object
org.apache.maven.model.v4.MavenXpp3Writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, Model model) Method write.void
Method write.protected void
writeDomToSerializer
(org.apache.maven.api.xml.XmlNode dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDomToSerializer.
-
Constructor Details
-
MavenXpp3Writer
public MavenXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment
- a fileComment object.
-
write
Method write.- Parameters:
writer
- a writer objectmodel
- a Model object- Throws:
IOException
- java.io.IOException if any
-
write
Method write.- Parameters:
stream
- a stream objectmodel
- a Model object- Throws:
IOException
- java.io.IOException if any
-
writeDomToSerializer
protected void writeDomToSerializer(org.apache.maven.api.xml.XmlNode dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeDomToSerializer.- Parameters:
dom
- a dom object.serializer
- a serializer object.- Throws:
IOException
- java.io.IOException if any.
-