Package org.apache.maven.settings.v4
Class SettingsXpp3Writer
java.lang.Object
org.apache.maven.settings.v4.SettingsXpp3Writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, Settings settings) 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
-
SettingsXpp3Writer
public SettingsXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment
- a fileComment object.
-
write
Method write.- Parameters:
writer
- a writer objectsettings
- a Settings object- Throws:
IOException
- java.io.IOException if any
-
write
Method write.- Parameters:
stream
- a stream objectsettings
- a Settings 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.
-