org.apache.maven.dotnet.assembler
Interface AssemblyInfoMarshaller


public interface AssemblyInfoMarshaller

Provides services for creating an AssemblyInfo class.

Author:
Shane Isbell

Method Summary
 void init(org.apache.maven.dotnet.model.assembly.plugins.AssemblyPlugin plugin)
          Initializes the marshaller.
 void marshal(AssemblyInfo assemblyInfo, org.apache.maven.project.MavenProject mavenProject, java.io.OutputStream outputStream)
          Writes the assembly info to AssemblyInfo.[language-extension].
 AssemblyInfo unmarshall(java.io.InputStream inputStream)
          Unmarshalls an AssemblyInfo.* class file.
 

Method Detail

marshal

void marshal(AssemblyInfo assemblyInfo,
             org.apache.maven.project.MavenProject mavenProject,
             java.io.OutputStream outputStream)
             throws java.io.IOException
Writes the assembly info to AssemblyInfo.[language-extension].

Parameters:
assemblyInfo - the assembly info
mavenProject - the maven project
outputStream - the output stream to write to (currently unused)
Throws:
java.io.IOException - if there was a problem writing out the class file

unmarshall

AssemblyInfo unmarshall(java.io.InputStream inputStream)
                        throws java.io.IOException
Unmarshalls an AssemblyInfo.* class file.

Parameters:
inputStream - the input stream of the AssemblyInfo.* class file
Returns:
an AssemblyInfo object for the specified input stream
Throws:
java.io.IOException - if there was a problem reading the AssemblyInfo class file

init

void init(org.apache.maven.dotnet.model.assembly.plugins.AssemblyPlugin plugin)
Initializes the marshaller.

Parameters:
plugin - the assembly plugin model associated with this marshaller (plugin specified within the assembly-plugins.xml file)


Copyright © 2007 NMaven. All Rights Reserved.