public final class RegulatoryParser extends GsXMLHelper
Constructor and Description |
---|
RegulatoryParser() |
RegulatoryParser(Set set,
Attributes attributes,
String s_dtd) |
Modifier and Type | Method and Description |
---|---|
void |
addExpression(byte val,
RegulatoryNode vertex,
String exp) |
void |
addParam(byte val,
RegulatoryNode vertex,
String par) |
void |
endElement(String uri,
String localName,
String qName) |
Graph |
getGraph() |
void |
parse(File file,
Set set,
Graph<?,?> graph)
create a new regulatory graph from a file.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
addCall, addCall, addCall, addCall, addCall, addEntity, characters, endElement, error, getAttributeValueWithDefault, getWarnings, resolveEntity, startElement, startParsing, startParsing, startParsing, startParsing, warning
endDocument, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
public RegulatoryParser()
public RegulatoryParser(Set set, Attributes attributes, String s_dtd) throws GsException
set
- attributes
- s_dtd
- SAXException
GsException
public void parse(File file, Set set, Graph<?,?> graph) throws GsException
file
- the file to read.set
- graph
- the graph to fill with this data.GsException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class XMLHelper
SAXException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class XMLHelper
SAXException
public void addExpression(byte val, RegulatoryNode vertex, String exp)
public void addParam(byte val, RegulatoryNode vertex, String par) throws Exception
Exception
public Graph getGraph()
getGraph
in class GsXMLHelper
Copyright © 2005–2020. All rights reserved.