|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simBio.sim.dm.ProtocolParser
public class ProtocolParser
Protocol XML-file parser.
Field Summary | |
---|---|
protected Document |
protocol
|
Constructor Summary | |
---|---|
ProtocolParser(Document protocolXML)
|
|
ProtocolParser(InputStream protocol)
|
Method Summary | |
---|---|
String |
getBaseModel()
Read tag |
File |
getCsvRootFile()
Get CSV-file. |
org.w3c.dom.traversal.NodeIterator |
getEraser()
Read tag |
Node |
getExchanger()
Read tag |
String |
getGenerateModel()
Read tag |
String |
getIdentification()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getInserter()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getInserterBefore()
Read tag |
String |
getLauncher()
Read tag |
int |
getMaxThreads()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getMultiplier()
Read tag |
Node |
getNormalizeTo()
Read tag |
InputStream |
getProtocolAsStream()
Get protocol as stream. |
String |
getSettings()
Read tag |
String |
getTocXML()
Get Toc XML-file path. |
org.w3c.dom.traversal.NodeIterator |
getWriter()
Read tag |
File |
getXmlRootDir()
Get XML root dir. |
org.w3c.dom.traversal.NodeIterator |
getXpath(String xpath)
Read input parameter xpath from file protocol. |
boolean |
hasExchanger()
Check if the protocol file has an exchanger or not. |
void |
setXmlRootDir()
Add XML root dir (if exist) to XML-file path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Document protocol
Constructor Detail |
---|
public ProtocolParser(InputStream protocol)
protocol
- as InputStreampublic ProtocolParser(Document protocolXML)
protocolXML
- as DocumentMethod Detail |
---|
public InputStream getProtocolAsStream()
public String getBaseModel() throws IOException
IOException
public String getGenerateModel() throws IOException
IOException
public int getMaxThreads()
public String getLauncher() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getEraser() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getInserter() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getInserterBefore() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getWriter() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getMultiplier() throws IOException
IOException
public boolean hasExchanger()
public Node getExchanger() throws IOException
IOException
public String getIdentification() throws IOException
IOException
public File getXmlRootDir() throws IOException
IOException
public void setXmlRootDir()
public File getCsvRootFile() throws IOException
IOException
public String getTocXML() throws IOException
IOException
public String getSettings() throws IOException
IOException
public org.w3c.dom.traversal.NodeIterator getXpath(String xpath) throws IOException
xpath
- string
IOException
public Node getNormalizeTo() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |