org.nuiton.eugene.plugin
Class Xmi2ObjectModel
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.eugene.plugin.EugeneAbstractMojo
org.nuiton.eugene.plugin.Xmi2Model
org.nuiton.eugene.plugin.Xmi2ObjectModel
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class Xmi2ObjectModel
- extends Xmi2Model
Converti les fichiers XMI en fichier ObjectModel
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
|
java.lang.String |
getExtension()
Get extension. |
protected java.lang.String |
getStyleSheet(java.io.File model)
Get style sheet. |
protected java.lang.String |
getXmiVersion(java.io.File xmiFile)
Try to find xmi version on a file. |
| 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 |
Xmi2ObjectModel
public Xmi2ObjectModel()
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
public 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
getXmiVersion
protected java.lang.String getXmiVersion(java.io.File xmiFile)
- Try to find xmi version on a file.
- Parameters:
xmiFile - file to inspect
- Returns:
- version or null if version can't have been found
Copyright © 2006-2009 CodeLutin. All Rights Reserved.