|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.sim.dm.ProtocolParser
public class ProtocolParser
Protocol XML-file parser.
Field Summary | |
---|---|
protected org.w3c.dom.Document |
protocol
|
Constructor Summary | |
---|---|
ProtocolParser(org.w3c.dom.Document protocolXML)
|
|
ProtocolParser(java.io.InputStream protocol)
|
Method Summary | |
---|---|
java.lang.String |
getBaseModel()
Read tag |
java.io.File |
getCsvRootFile()
Get CSV-file. |
org.w3c.dom.traversal.NodeIterator |
getEraser()
Read tag |
org.w3c.dom.Node |
getExchanger()
Read tag |
java.lang.String |
getGenerateModel()
Read tag |
java.lang.String |
getIdentification()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getInserter()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getInserterBefore()
Read tag |
java.lang.String |
getLauncher()
Read tag |
int |
getMaxThreads()
Read tag |
org.w3c.dom.traversal.NodeIterator |
getMultiplier()
Read tag |
org.w3c.dom.Node |
getNormalizeTo()
Read tag |
java.io.InputStream |
getProtocolAsStream()
Get protocol as stream. |
java.lang.String |
getSettings()
Read tag |
java.lang.String |
getTocXML()
Get Toc XML-file path. |
org.w3c.dom.traversal.NodeIterator |
getWriter()
Read tag |
java.io.File |
getXmlRootDir()
Get XML root dir. |
org.w3c.dom.traversal.NodeIterator |
getXpath(java.lang.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 org.w3c.dom.Document protocol
Constructor Detail |
---|
public ProtocolParser(java.io.InputStream protocol)
protocol
- as InputStreampublic ProtocolParser(org.w3c.dom.Document protocolXML)
protocolXML
- as DocumentMethod Detail |
---|
public java.io.InputStream getProtocolAsStream()
public java.lang.String getBaseModel() throws java.io.IOException
java.io.IOException
public java.lang.String getGenerateModel() throws java.io.IOException
java.io.IOException
public int getMaxThreads()
public java.lang.String getLauncher() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getEraser() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getInserter() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getInserterBefore() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getWriter() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getMultiplier() throws java.io.IOException
java.io.IOException
public boolean hasExchanger()
public org.w3c.dom.Node getExchanger() throws java.io.IOException
java.io.IOException
public java.lang.String getIdentification() throws java.io.IOException
java.io.IOException
public java.io.File getXmlRootDir() throws java.io.IOException
java.io.IOException
public void setXmlRootDir()
public java.io.File getCsvRootFile() throws java.io.IOException
java.io.IOException
public java.lang.String getTocXML() throws java.io.IOException
java.io.IOException
public java.lang.String getSettings() throws java.io.IOException
java.io.IOException
public org.w3c.dom.traversal.NodeIterator getXpath(java.lang.String xpath) throws java.io.IOException
xpath
- string
java.io.IOException
public org.w3c.dom.Node getNormalizeTo() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |