Constructor and Description |
---|
PNMLImporter() |
PNMLImporter(org.w3c.dom.Document xmlDoc)
Creates a new PNML-Parser based on Document.
|
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.
|
java.util.List<ProcessModel> |
getModels()
Returns the PetriNetModels found in the PNML file.
|
static void |
main(java.lang.String[] args) |
java.util.List<ProcessModel> |
parseSource(java.io.File f)
Imports a set of ProcessModels from a source.
|
public PNMLImporter()
public PNMLImporter(org.w3c.dom.Document xmlDoc) throws java.lang.Exception
xmlDoc
- java.lang.Exception
public java.util.List<ProcessModel> getModels()
public static void main(java.lang.String[] args)
public java.util.List<ProcessModel> parseSource(java.io.File f) throws java.lang.Exception
Importer
parseSource
in interface Importer
java.lang.Exception
public java.lang.String getDisplayName()
Importer
getDisplayName
in interface Importer
public java.lang.String[] getFileTypes()
Importer
getFileTypes
in interface Importer