com.hp.hpl.guess.io
Class GraphMLReader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.hp.hpl.guess.io.GraphMLReader
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class GraphMLReader
- extends DefaultHandler
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
GraphMLReader
public GraphMLReader(Graph g,
String fileName)
GraphMLReader
public GraphMLReader(Graph g,
InputStream r)
load
public void load(Graph g,
InputStream r)
startElement
public void startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String lName,
String qName)
throws SAXException
- Throws:
SAXException
createKey
public void createKey(Map attributeMap)
characters
public void characters(char[] ch,
int start,
int length)
createNode
public void createNode(Map attributeMap)
createEdge
public void createEdge(Map attributeMap)