org.nuiton.eugene.plugin.writer
Class XmiToStateModelFileWriter

java.lang.Object
  extended by org.nuiton.eugene.AbstractModelFileWriter
      extended by org.nuiton.eugene.plugin.writer.BaseModelFileWriter
          extended by org.nuiton.eugene.plugin.writer.BaseXmiToModelFileWriter
              extended by org.nuiton.eugene.plugin.writer.XmiToStateModelFileWriter
All Implemented Interfaces:
ModelFileWriter

public class XmiToStateModelFileWriter
extends BaseXmiToModelFileWriter

Since:
2.0.0
Author:
tchemit
Plexus component:
role-hint:
"xmi2statemodel"
description:
"xmi
role:
"org.nuiton.eugene.ModelFileWriter"

Field Summary
 
Fields inherited from class org.nuiton.eugene.plugin.writer.BaseXmiToModelFileWriter
PROP_EXTRACTED_PACKAGES, PROP_FULL_PACKAGE_PATH, PROP_RESOLVER, transformerFactory
 
Fields inherited from class org.nuiton.eugene.plugin.writer.BaseModelFileWriter
PROP_CLASS_LOADER
 
Fields inherited from class org.nuiton.eugene.AbstractModelFileWriter
configuration, entries, nextWriter, previousWriter
 
Constructor Summary
XmiToStateModelFileWriter()
           
 
Method Summary
<M extends Model>
boolean
acceptModel(java.lang.Class<M> modelType)
           
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.writer.BaseXmiToModelFileWriter
acceptInclude, actionXsl, generate, getDefaultIncludes, getDefaultInputDirectory, getDefaultOutputDirectory, getExtractedPackages, getFullPackagePath, getInputProtocol, getOutputProtocol, getResolver, getTransformerFactory, getUriResolver
 
Methods inherited from class org.nuiton.eugene.plugin.writer.BaseModelFileWriter
getClassLoader, getLog, setLog
 
Methods inherited from class org.nuiton.eugene.AbstractModelFileWriter
addEntry, clear, generate, getConfiguration, getEntries, getInputProtocol, getNextWriter, getOutputDirectory, getPreviousWriter, getProperty, setNextWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmiToStateModelFileWriter

public XmiToStateModelFileWriter()
Method Detail

acceptModel

public <M extends Model> boolean acceptModel(java.lang.Class<M> modelType)

getExtension

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

Specified by:
getExtension in class BaseXmiToModelFileWriter
Returns:
the extension

getStyleSheet

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

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


Copyright © 2006-2009 CodeLutin. All Rights Reserved.