public final class DynamicParser extends GsXMLHelper
Constructor and Description |
---|
DynamicParser() |
DynamicParser(Set<String> set,
Attributes attributes,
String s_dtd) |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String qName) |
Graph |
getGraph() |
void |
parse(File file,
Set<String> set,
Graph graph)
create a new dynamical 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 DynamicParser()
public DynamicParser(Set<String> set, Attributes attributes, String s_dtd) throws GsException
set
- attributes
- s_dtd
- s_filename
- GsException
public void parse(File file, Set<String> set, Graph graph) throws GsException
file
- the file to read.map
- "filter" to open only partially a graphgraph
- 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 Graph getGraph()
getGraph
in class GsXMLHelper
Copyright © 2005–2020. All rights reserved.