Class LifecycleStaxWriter

java.lang.Object
org.apache.maven.plugin.lifecycle.io.LifecycleStaxWriter

@Generated public class LifecycleStaxWriter extends Object
  • Constructor Details Link icon

    • LifecycleStaxWriter Link icon

      public LifecycleStaxWriter()
  • Method Details Link icon

    • setNamespace Link icon

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

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

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

      public void write(Writer writer, LifecycleConfiguration lifecycleConfiguration) throws IOException, XMLStreamException
      Method write.
      Parameters:
      writer - a writer object
      lifecycleConfiguration - a LifecycleConfiguration object
      Throws:
      IOException - IOException if any
      XMLStreamException
    • write Link icon

      public void write(OutputStream stream, LifecycleConfiguration lifecycleConfiguration) throws IOException, XMLStreamException
      Method write.
      Parameters:
      stream - a stream object
      lifecycleConfiguration - a LifecycleConfiguration object
      Throws:
      IOException - IOException if any
      XMLStreamException