Class PluginDescriptorStaxWriter

java.lang.Object
org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter

@Generated public class PluginDescriptorStaxWriter extends Object
  • Constructor Details

    • PluginDescriptorStaxWriter

      public PluginDescriptorStaxWriter()
  • 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, PluginDescriptor pluginDescriptor) throws IOException, XMLStreamException
      Method write.
      Parameters:
      writer - a writer object
      pluginDescriptor - a PluginDescriptor object
      Throws:
      IOException - IOException if any
      XMLStreamException
    • write

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