Class MavenToolchainsStaxWriter

java.lang.Object
org.apache.maven.toolchain.v4.MavenToolchainsStaxWriter

@Generated public class MavenToolchainsStaxWriter extends Object
  • Constructor Details

    • MavenToolchainsStaxWriter

      public MavenToolchainsStaxWriter()
  • Method Details

    • setNamespace

      public void setNamespace(String namespace)
      Method setNamespace.
      Parameters:
      namespace - the namespace to use.
    • setSchemaLocation

      public void setSchemaLocation(String schemaLocation)
      Method setSchemaLocation.
      Parameters:
      schemaLocation - the schema location to use.
    • setFileComment

      public void setFileComment(String fileComment)
      Method setFileComment.
      Parameters:
      fileComment - a fileComment object.
    • write

      public 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
    • write

      public 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