Package org.sonatype.maven.polyglot.io
Class ModelWriterSupport
java.lang.Object
org.sonatype.maven.polyglot.io.ModelWriterSupport
- All Implemented Interfaces:
org.apache.maven.model.io.ModelWriter
- Direct Known Subclasses:
GroovyModelWriter
public abstract class ModelWriterSupport
extends Object
implements org.apache.maven.model.io.ModelWriter
Support for
ModelWriter
implementations.- Since:
- 0.7
- Author:
- Jason Dillon
-
Constructor Details
-
ModelWriterSupport
public ModelWriterSupport()
-
-
Method Details
-
write
public void write(File file, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException- Specified by:
write
in interfaceorg.apache.maven.model.io.ModelWriter
- Throws:
IOException
-
write
public void write(OutputStream output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException- Specified by:
write
in interfaceorg.apache.maven.model.io.ModelWriter
- Throws:
IOException
-