Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_WORKFLOW_XPATH |
static java.lang.String |
PROP_GROUP |
static java.lang.String |
SEMANTICANNOTATION_MODEL_PROPERTY |
static java.lang.String |
SEMANTICANNOTATION_PROPERTY |
Constructor and Description |
---|
ISDiagramImporter()
This constructor requires user interaction to select the file!!!
|
ISDiagramImporter(org.w3c.dom.Document document)
Converts an IS 5.1 BPD workflow.
|
ISDiagramImporter(org.w3c.dom.Element workflowElement)
parses directly from the "Workflow" element
|
ISDiagramImporter(org.w3c.dom.Element xmlNode,
boolean isDocRoot)
parses directly from the given Element, but you have to decide if it is the "Workflow"
Element or the document root
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of this Importer.
|
java.lang.String[] |
getFileTypes()
Returns the set of file types supported by the Importer.
|
ProcessNode |
getFlowObject(java.lang.String id) |
java.util.List<ProcessModel> |
getModels() |
void |
openModel(java.io.File file)
Opens a model from the file system.
|
java.util.List<ProcessModel> |
parseSource(java.io.File f)
Imports a set of ProcessModels from a source.
|
public static final java.lang.String DEFAULT_WORKFLOW_XPATH
public static final java.lang.String SEMANTICANNOTATION_MODEL_PROPERTY
public static final java.lang.String SEMANTICANNOTATION_PROPERTY
public static final java.lang.String PROP_GROUP
public ISDiagramImporter()
java.lang.Exception
public ISDiagramImporter(org.w3c.dom.Document document) throws java.lang.Exception
workflow
- java.lang.Exception
public ISDiagramImporter(org.w3c.dom.Element workflowElement) throws java.lang.Exception
java.lang.Exception
java.lang.Exception
public ISDiagramImporter(org.w3c.dom.Element xmlNode, boolean isDocRoot) throws java.lang.Exception
java.lang.Exception
java.lang.Exception
public java.util.List<ProcessModel> getModels()
public void openModel(java.io.File file) throws java.lang.Exception
java.lang.Exception
public ProcessNode getFlowObject(java.lang.String id)
public java.lang.String getDisplayName()
Importer
getDisplayName
in interface Importer
public java.lang.String[] getFileTypes()
Importer
getFileTypes
in interface Importer
public java.util.List<ProcessModel> parseSource(java.io.File f) throws java.lang.Exception
Importer
parseSource
in interface Importer
java.lang.Exception