|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpipe.dataLayer.PNMLTransformer
public class PNMLTransformer
Create pnmlTransformer object, which deals with getting information from the XML file, then passes this back to DataLayer constructor for construction
Constructor Summary | |
---|---|
PNMLTransformer()
Create a Transformer |
Method Summary | |
---|---|
org.w3c.dom.Document |
getDOM(java.io.File pnmlFile)
Return a DOM for the PNML File pnmlFile |
org.w3c.dom.Document |
getDOM(java.lang.String pnmlFileName)
Return a DOM for the PNML file at URI pnmlFileName |
org.w3c.dom.Document |
transformPNML(java.lang.String filename)
Transform a PNML file into a Document which is returned and used to construct the DataLayer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PNMLTransformer()
Method Detail |
---|
public org.w3c.dom.Document transformPNML(java.lang.String filename)
filename
- URI location of PNML
java.io.IOException
org.xml.sax.SAXException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document getDOM(java.lang.String pnmlFileName) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
pnmlFileName
- URI of PNML file
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document getDOM(java.io.File pnmlFile) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
pnmlFile
- File Object for PNML of Petri-Net
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |