Class PluginDescriptorStaxWriter
java.lang.Object
org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidsetNamespace(String namespace) Method setNamespace.voidsetSchemaLocation(String schemaLocation) Method setSchemaLocation.voidwrite(OutputStream stream, PluginDescriptor pluginDescriptor) Method write.voidwrite(Writer writer, PluginDescriptor pluginDescriptor) Method write. 
- 
Constructor Details
- 
PluginDescriptorStaxWriter
public PluginDescriptorStaxWriter() 
 - 
 - 
Method Details
- 
setNamespace
Method setNamespace.- Parameters:
 namespace- the namespace to use.
 - 
setSchemaLocation
Method setSchemaLocation.- Parameters:
 schemaLocation- the schema location to use.
 - 
setFileComment
Method setFileComment.- Parameters:
 fileComment- a fileComment object.
 - 
write
public void write(Writer writer, PluginDescriptor pluginDescriptor) throws IOException, XMLStreamException Method write.- Parameters:
 writer- a writer objectpluginDescriptor- a PluginDescriptor object- Throws:
 IOException- IOException if anyXMLStreamException
 - 
write
public void write(OutputStream stream, PluginDescriptor pluginDescriptor) throws IOException, XMLStreamException Method write.- Parameters:
 stream- a stream objectpluginDescriptor- a PluginDescriptor object- Throws:
 IOException- IOException if anyXMLStreamException
 
 -