Package org.apache.maven.toolchain.v4
Class MavenToolchainsStaxWriter
java.lang.Object
org.apache.maven.toolchain.v4.MavenToolchainsStaxWriter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidsetNamespace(String namespace) Method setNamespace.voidsetSchemaLocation(String schemaLocation) Method setSchemaLocation.voidwrite(OutputStream stream, PersistedToolchains persistedToolchains) Method write.voidwrite(Writer writer, PersistedToolchains persistedToolchains) Method write.
- 
Constructor Details- 
MavenToolchainsStaxWriterpublic MavenToolchainsStaxWriter()
 
- 
- 
Method Details- 
setNamespaceMethod setNamespace.- Parameters:
- namespace- the namespace to use.
 
- 
setSchemaLocationMethod setSchemaLocation.- Parameters:
- schemaLocation- the schema location to use.
 
- 
setFileCommentMethod setFileComment.- Parameters:
- fileComment- a fileComment object.
 
- 
writepublic void write(Writer writer, PersistedToolchains persistedToolchains) throws IOException, XMLStreamException Method write.- Parameters:
- writer- a writer object
- persistedToolchains- a PersistedToolchains object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
- 
writepublic void write(OutputStream stream, PersistedToolchains persistedToolchains) throws IOException, XMLStreamException Method write.- Parameters:
- stream- a stream object
- persistedToolchains- a PersistedToolchains object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
 
-