Package org.apache.maven.toolchain.v4
Class MavenToolchainsXpp3Writer
java.lang.Object
org.apache.maven.toolchain.v4.MavenToolchainsXpp3Writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, PersistedToolchains persistedToolchains) Method write.void
write
(Writer writer, PersistedToolchains persistedToolchains) Method write.protected void
writeDomToSerializer
(org.apache.maven.api.xml.XmlNode dom, XmlSerializer serializer) Method writeDomToSerializer.
-
Constructor Details
-
MavenToolchainsXpp3Writer
public MavenToolchainsXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment
- a fileComment object.
-
write
Method write.- Parameters:
writer
- a writer objectpersistedToolchains
- a PersistedToolchains object- Throws:
IOException
- java.io.IOException if any
-
write
Method write.- Parameters:
stream
- a stream objectpersistedToolchains
- a PersistedToolchains object- Throws:
IOException
- java.io.IOException if any
-
writeDomToSerializer
protected void writeDomToSerializer(org.apache.maven.api.xml.XmlNode dom, XmlSerializer serializer) throws IOException Method writeDomToSerializer.- Parameters:
dom
- a dom object.serializer
- a serializer object.- Throws:
IOException
- java.io.IOException if any.
-