Class LifecycleStaxWriter
java.lang.Object
org.apache.maven.plugin.lifecycle.io.LifecycleStaxWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
setNamespace
(String namespace) Method setNamespace.void
setSchemaLocation
(String schemaLocation) Method setSchemaLocation.void
write
(OutputStream stream, LifecycleConfiguration lifecycleConfiguration) Method write.void
write
(Writer writer, LifecycleConfiguration lifecycleConfiguration) Method write.
-
Constructor Details
-
LifecycleStaxWriter
public LifecycleStaxWriter()
-
-
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, LifecycleConfiguration lifecycleConfiguration) throws IOException, XMLStreamException Method write.- Parameters:
writer
- a writer objectlifecycleConfiguration
- a LifecycleConfiguration object- Throws:
IOException
- IOException if anyXMLStreamException
-
write
public void write(OutputStream stream, LifecycleConfiguration lifecycleConfiguration) throws IOException, XMLStreamException Method write.- Parameters:
stream
- a stream objectlifecycleConfiguration
- a LifecycleConfiguration object- Throws:
IOException
- IOException if anyXMLStreamException
-