org.nuiton.eugene.plugin
Class Xmi2StateModel

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.eugene.plugin.EugeneAbstractMojo
          extended by org.nuiton.eugene.plugin.Xmi2Model
              extended by org.nuiton.eugene.plugin.Xmi2StateModel
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Xmi2StateModel
extends Xmi2Model

Converti les fichiers XMI en fichier StateModel


Field Summary
 
Fields inherited from class org.nuiton.eugene.plugin.Xmi2Model
acceptedXmiTypes, extraClassPathDirectory, extractedPackages, fullPackagePath, resolver, xmiResources
 
Fields inherited from class org.nuiton.eugene.plugin.EugeneAbstractMojo
encoding, overwrite, project, settings, testPhase, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Xmi2StateModel()
           
 
Method Summary
 void execute()
           
protected  java.lang.String getExtension()
          Get extension.
protected  java.lang.String getStyleSheet(java.io.File model)
          Get style sheet.
 
Methods inherited from class org.nuiton.eugene.plugin.Xmi2Model
actionXsl, fixClassLoader, getAcceptedTypesAsArray, getResources, getSuffixPattern, getUriResolver, initResources
 
Methods inherited from class org.nuiton.eugene.plugin.EugeneAbstractMojo
addUrl, getFile, initResources
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xmi2StateModel

public Xmi2StateModel()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class Xmi2Model
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getExtension

protected java.lang.String getExtension()
Description copied from class: Xmi2Model
Get extension.

Specified by:
getExtension in class Xmi2Model
Returns:
the extension

getStyleSheet

protected java.lang.String getStyleSheet(java.io.File model)
Description copied from class: Xmi2Model
Get style sheet.

Specified by:
getStyleSheet in class Xmi2Model
Parameters:
model - the model file used to determine the stylesheet to use
Returns:
the stylesheet name


Copyright © 2006-2009 CodeLutin. All Rights Reserved.