Package org.apache.maven.metadata.v4
Class MetadataStaxWriter
java.lang.Object
org.apache.maven.metadata.v4.MetadataStaxWriter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidsetNamespace(String namespace) Method setNamespace.voidsetSchemaLocation(String schemaLocation) Method setSchemaLocation.voidwrite(OutputStream stream, Metadata metadata) Method write.voidMethod write.
- 
Constructor Details- 
MetadataStaxWriterpublic MetadataStaxWriter()
 
- 
- 
Method Details- 
setNamespaceMethod setNamespace.- Parameters:
- namespace- the namespace to use.
 
- 
setSchemaLocationMethod setSchemaLocation.- Parameters:
- schemaLocation- the schema location to use.
 
- 
setFileCommentMethod setFileComment.- Parameters:
- fileComment- a fileComment object.
 
- 
writeMethod write.- Parameters:
- writer- a writer object
- metadata- a Metadata object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
- 
writeMethod write.- Parameters:
- stream- a stream object
- metadata- a Metadata object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
 
-